Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: python3Packages.pycryptodome 0 -> 1 attrpath: python3Packages.pycryptodome Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/7qhy68jsrqfcramypclyb2mf5mlmkmlx-packages.json.drv building '/nix/store/7qhy68jsrqfcramypclyb2mf5mlmkmlx-packages.json.drv'... Going to be running update for following packages: - python3.14-pycryptodome-3.24.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-pycryptodome-3.24.1: UPDATING ... - python3.14-pycryptodome-3.24.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pycryptodome/default.nix b/pkgs/development/python-modules/pycryptodome/default.nix index 687ea7ba0b5d..2e45beb79760 100644 --- a/pkgs/development/python-modules/pycryptodome/default.nix +++ b/pkgs/development/python-modules/pycryptodome/default.nix @@ -12,14 +12,14 @@ let in buildPythonPackage (finalAttrs: { pname = "pycryptodome"; - version = "3.24.1"; + version = "4.7.0"; pyproject = true; src = fetchFromGitHub { owner = "Legrandin"; repo = "pycryptodome"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZJ71vVqSeDg6TL8UTKjTQ+2RM8kb4aIgAev7CEqEWEI="; + hash = "sha256-zEkIpo6UUna0r+5yLpK9/+u/RODq6twtSrp8ZefLY3g="; }; postPatch = '' No auto update branch exists Old version 3.24.1" not present in staging derivation file with contents: { lib, buildPythonPackage, callPackage, fetchFromGitHub, pytestCheckHook, python, setuptools, }: buildPythonPackage (finalAttrs: { pname = "pycryptodome"; version = "4.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Legrandin"; repo = "pycryptodome"; tag = "v${finalAttrs.version}"; hash = "sha256-JZgNPikN4Wl4ky44zQt66zAVk1udA4B+HwPGbQKRdik="; }; build-system = [ setuptools ]; postInstall = '' # also provide the namespace distributed by pycryptodomex ln -s Crypto "$out/${python.sitePackages}/Cryptodome" ''; nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' export PYTHONPATH="test_vectors:$PYTHONPATH" ''; pythonImportsCheck = [ "Crypto" "Cryptodome" ]; meta = { description = "Self-contained cryptographic library"; homepage = "https://github.com/Legrandin/pycryptodome"; changelog = "https://github.com/Legrandin/pycryptodome/blob/${finalAttrs.src.tag}/Changelog.rst"; license = with lib.licenses; [ bsd2 # and asl20 ]; maintainers = with lib.maintainers; [ fab ]; }; })