From 46d790b44bb41ce7379e49d19aec94f43222d024 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Feb 2023 09:06:06 +0000 Subject: [PATCH 1/6] python310Packages.quantities: 0.13.0 -> 0.14.1 --- pkgs/development/python-modules/quantities/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/quantities/default.nix b/pkgs/development/python-modules/quantities/default.nix index 419dea854096..e374f12b6288 100644 --- a/pkgs/development/python-modules/quantities/default.nix +++ b/pkgs/development/python-modules/quantities/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "quantities"; - version = "0.13.0"; + version = "0.14.1"; src = fetchPypi { inherit pname version; - sha256 = "0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81"; + sha256 = "sha256-7+r//AwDZPiRqTJyOc0SSWvMtVzQN6bRv0TecG9yKHc="; }; propagatedBuildInputs = [ From 38f637624366ac5ed856eb36eb9c524aa615f03a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 11:20:45 +0100 Subject: [PATCH 2/6] python310Packages.quantities: add changelog to meta --- pkgs/development/python-modules/quantities/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/quantities/default.nix b/pkgs/development/python-modules/quantities/default.nix index e374f12b6288..2b828c2892d9 100644 --- a/pkgs/development/python-modules/quantities/default.nix +++ b/pkgs/development/python-modules/quantities/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-7+r//AwDZPiRqTJyOc0SSWvMtVzQN6bRv0TecG9yKHc="; + hash = "sha256-7+r//AwDZPiRqTJyOc0SSWvMtVzQN6bRv0TecG9yKHc="; }; propagatedBuildInputs = [ @@ -27,11 +27,14 @@ buildPythonPackage rec { "test_mul" ]; - pythonImportsCheck = [ "quantities" ]; + pythonImportsCheck = [ + "quantities" + ]; meta = with lib; { description = "Quantities is designed to handle arithmetic and conversions of physical quantities"; homepage = "https://python-quantities.readthedocs.io/"; + changelog = "https://github.com/python-quantities/python-quantities/blob/v${version}/CHANGES.txt"; license = licenses.bsd2; maintainers = with maintainers; [ ]; }; From dec690df7fa58c88e3bd28d10b51c1aee4795c32 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 11:21:23 +0100 Subject: [PATCH 3/6] python310Packages.quantities: disable on unsupported Python releases --- pkgs/development/python-modules/quantities/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/quantities/default.nix b/pkgs/development/python-modules/quantities/default.nix index 2b828c2892d9..b40df5420d70 100644 --- a/pkgs/development/python-modules/quantities/default.nix +++ b/pkgs/development/python-modules/quantities/default.nix @@ -3,11 +3,15 @@ , fetchPypi , numpy , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "quantities"; version = "0.14.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; From bd189f478f4fa419611c90f88d494f0a85e37f25 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 11:25:47 +0100 Subject: [PATCH 4/6] python310Packages.neo: add changelog to meta --- pkgs/development/python-modules/neo/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/neo/default.nix b/pkgs/development/python-modules/neo/default.nix index 0bb1f33c98ba..47135a9b8e68 100644 --- a/pkgs/development/python-modules/neo/default.nix +++ b/pkgs/development/python-modules/neo/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-9KIGBEszKtALEAcrDcenCzWfo2XseG+Sq3V+9K5YhHQ="; + hash = "sha256-9KIGBEszKtALEAcrDcenCzWfo2XseG+Sq3V+9K5YhHQ="; }; propagatedBuildInputs = [ @@ -41,6 +41,7 @@ buildPythonPackage rec { meta = with lib; { description = "Package for representing electrophysiology data"; homepage = "https://neuralensemble.org/neo/"; + changelog = "https://neo.readthedocs.io/en/${version}/releases/${version}.html"; license = licenses.bsd3; maintainers = with maintainers; [ bcdarwin ]; }; From 2e75e17a54dfcad2c23a0e01c0aa06f55fdf5bb0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 11:29:41 +0100 Subject: [PATCH 5/6] python311Packages.neo: 0.11.1 -> 0.12.0 Changelog: https://neo.readthedocs.io/en/0.12.0/releases/0.12.0.html --- pkgs/development/python-modules/neo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/neo/default.nix b/pkgs/development/python-modules/neo/default.nix index 47135a9b8e68..3db12e647838 100644 --- a/pkgs/development/python-modules/neo/default.nix +++ b/pkgs/development/python-modules/neo/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "neo"; - version = "0.11.1"; + version = "0.12.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-9KIGBEszKtALEAcrDcenCzWfo2XseG+Sq3V+9K5YhHQ="; + hash = "sha256-O2yk/AXf206VPiU+cJlL+7yP4ukJWPvaf6WGDK8/pjo="; }; propagatedBuildInputs = [ From e4b420716f8fd98dd54867662fb30872a002106b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Feb 2023 11:30:02 +0100 Subject: [PATCH 6/6] python310Packages.quantities: add nativeBuildInputs --- pkgs/development/python-modules/quantities/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/quantities/default.nix b/pkgs/development/python-modules/quantities/default.nix index b40df5420d70..937d03125353 100644 --- a/pkgs/development/python-modules/quantities/default.nix +++ b/pkgs/development/python-modules/quantities/default.nix @@ -4,6 +4,8 @@ , numpy , pytestCheckHook , pythonOlder +, setuptools +, setuptools-scm }: buildPythonPackage rec { @@ -18,6 +20,11 @@ buildPythonPackage rec { hash = "sha256-7+r//AwDZPiRqTJyOc0SSWvMtVzQN6bRv0TecG9yKHc="; }; + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + propagatedBuildInputs = [ numpy ];