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/w18kmgqas1y90a19jijna93znkq83zgr-packages.json.drv building '/nix/store/w18kmgqas1y90a19jijna93znkq83zgr-packages.json.drv'... Going to be running update for following packages: - python3.14-pycryptodome-3.23.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-pycryptodome-3.23.0: UPDATING ... - python3.14-pycryptodome-3.23.0: 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 d35207c1feee..37744b004455 100644 --- a/pkgs/development/python-modules/pycryptodome/default.nix +++ b/pkgs/development/python-modules/pycryptodome/default.nix @@ -12,14 +12,14 @@ let in buildPythonPackage rec { pname = "pycryptodome"; - version = "3.23.0"; + version = "4.5.0"; pyproject = true; src = fetchFromGitHub { owner = "Legrandin"; repo = "pycryptodome"; tag = "v${version}"; - hash = "sha256-x8QkRBwM/H/n7yHGjE8UfBhOzkGr0PBixe9g4EuZLUg="; + hash = "sha256-/gYY20DCNfKCi0f5tnY9KJmufEY3axbCDKpgu8E8x9k="; }; postPatch = '' No auto update branch exists Old version 3.23.0" not present in staging derivation file with contents: { lib, buildPythonPackage, callPackage, fetchFromGitHub, gmp, setuptools, }: let test-vectors = callPackage ./vectors.nix { }; in buildPythonPackage (finalAttrs: { pname = "pycryptodome"; version = "3.24.1"; pyproject = true; src = fetchFromGitHub { owner = "Legrandin"; repo = "pycryptodome"; tag = "v${finalAttrs.version}"; hash = "sha256-ZJ71vVqSeDg6TL8UTKjTQ+2RM8kb4aIgAev7CEqEWEI="; }; postPatch = '' substituteInPlace lib/Crypto/Math/_IntegerGMP.py \ --replace-fail 'load_lib("gmp"' 'load_lib("${gmp}/lib/libgmp.so.10"' ''; build-system = [ setuptools ]; nativeCheckInputs = [ test-vectors ]; pythonImportsCheck = [ "Crypto" ]; 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 ]; }; })