diff --git a/pkgs/development/python-modules/ihm/default.nix b/pkgs/development/python-modules/ihm/default.nix index 7830ba09d1b5..c6cabaca5718 100644 --- a/pkgs/development/python-modules/ihm/default.nix +++ b/pkgs/development/python-modules/ihm/default.nix @@ -8,16 +8,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ihm"; - version = "2.8"; + version = "2.10"; pyproject = true; src = fetchFromGitHub { owner = "ihmwg"; repo = "python-ihm"; - tag = version; - hash = "sha256-sT2wZRKyW+N0gd6xwOAEXImMnWKWq8h9UX1b3qkDLGQ="; + tag = finalAttrs.version; + hash = "sha256-X7hWuSltv6XZ7ugRcJQRYR0MNoqqVbl+i7tF9JafwFg="; }; nativeBuildInputs = [ swig ]; @@ -38,8 +38,8 @@ buildPythonPackage rec { meta = { description = "Python package for handling IHM mmCIF and BinaryCIF files"; homepage = "https://github.com/ihmwg/python-ihm"; - changelog = "https://github.com/ihmwg/python-ihm/blob/${src.tag}/ChangeLog.rst"; + changelog = "https://github.com/ihmwg/python-ihm/blob/${finalAttrs.src.tag}/ChangeLog.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; }; -} +}) diff --git a/pkgs/development/python-modules/modelcif/default.nix b/pkgs/development/python-modules/modelcif/default.nix index 5910f0283467..9e065afc5247 100644 --- a/pkgs/development/python-modules/modelcif/default.nix +++ b/pkgs/development/python-modules/modelcif/default.nix @@ -7,16 +7,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "modelcif"; - version = "1.6"; + version = "1.7"; pyproject = true; src = fetchFromGitHub { owner = "ihmwg"; repo = "python-modelcif"; - tag = version; - hash = "sha256-01tCE7uClUEpCFkdAvvjG18SwKypJ+oeQ9SbJZF3RVU="; + tag = finalAttrs.version; + hash = "sha256-4iAFXL+3/HOP2wmO0SoXAGPRrkoaITStDQKvhKAOjTA="; }; build-system = [ @@ -39,8 +39,8 @@ buildPythonPackage rec { meta = { description = "Python package for handling ModelCIF mmCIF and BinaryCIF files"; homepage = "https://github.com/ihmwg/python-modelcif"; - changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.tag}/ChangeLog.rst"; + changelog = "https://github.com/ihmwg/python-modelcif/blob/${finalAttrs.src.tag}/ChangeLog.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; }; -} +})