python312Packages.preprocess-cancellation 0.2.0 -> 0.2.1 https://github.com/kageurufu/cancelobject-preprocessor/releases attrpath: python312Packages.preprocess-cancellation Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/2p2qmd1zyjwasjw279svprd44kzj1skp-packages.json.drv building '/nix/store/2p2qmd1zyjwasjw279svprd44kzj1skp-packages.json.drv'... Going to be running update for following packages: - python3.12-preprocess-cancellation-0.2.0 Press Enter key to continue... Running update for: - python3.12-preprocess-cancellation-0.2.0: UPDATING ... - python3.12-preprocess-cancellation-0.2.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/preprocess-cancellation/default.nix b/pkgs/development/python-modules/preprocess-cancellation/default.nix index dc571f076fe3..d8f60c653ddc 100644 --- a/pkgs/development/python-modules/preprocess-cancellation/default.nix +++ b/pkgs/development/python-modules/preprocess-cancellation/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "preprocess-cancellation"; - version = "0.2.0"; + version = "0.2.1"; disabled = pythonOlder "3.6"; # >= 3.6 format = "pyproject"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "kageurufu"; repo = "cancelobject-preprocessor"; - rev = version; - hash = "sha256-mn3/etXA5dkL+IsyxwD4/XjU/t4/roYFVyqQxlLOoOI="; + rev = "refs/tags/${version}"; + hash = "sha256-MJ4mwOFswLYHhg2LNZ+/ZwDvSjoxElVxlaWjArHV2NY="; }; patches = [ No auto update branch exists Old version 0.2.0" not present in staging derivation file with contents: { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , poetry-core , setuptools , shapely , pytestCheckHook }: buildPythonPackage rec { pname = "preprocess-cancellation"; version = "0.2.1"; disabled = pythonOlder "3.6"; # >= 3.6 format = "pyproject"; # No tests in PyPI src = fetchFromGitHub { owner = "kageurufu"; repo = "cancelobject-preprocessor"; rev = "refs/tags/${version}"; hash = "sha256-MJ4mwOFswLYHhg2LNZ+/ZwDvSjoxElVxlaWjArHV2NY="; }; patches = [ ./pep-621.patch ]; postPatch = '' sed -i "/^addopts/d" pyproject.toml # setuptools 61 compatibility # error: Multiple top-level packages discovered in a flat-layout: ['STLs', 'GCode']. mkdir tests mv GCode STLs test_* tests substituteInPlace tests/test_preprocessor.py \ --replace "./GCode" "./tests/GCode" substituteInPlace tests/test_preprocessor_with_shapely.py \ --replace "./GCode" "./tests/GCode" ''; nativeBuildInputs = [ poetry-core setuptools ]; propagatedBuildInputs = [ shapely ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "preprocess_cancellation" ]; meta = with lib; { description = "Klipper GCode Preprocessor for Object Cancellation"; homepage = "https://github.com/kageurufu/cancelobject-preprocessor"; license = licenses.gpl3Only; maintainers = with maintainers; [ zhaofengli ]; }; }