From 1086eb857456e0e3e32392816fdd4cf94d0843bf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 27 Jul 2023 11:05:17 +0200 Subject: [PATCH] python310Packages.hist: add changelog to meta - disable on unsupported Python releases --- pkgs/development/python-modules/hist/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hist/default.nix b/pkgs/development/python-modules/hist/default.nix index acc7e473917..07f8035fb2a 100644 --- a/pkgs/development/python-modules/hist/default.nix +++ b/pkgs/development/python-modules/hist/default.nix @@ -8,6 +8,7 @@ , numpy , pytestCheckHook , pytest-mpl +, pythonOlder }: buildPythonPackage rec { @@ -15,9 +16,11 @@ buildPythonPackage rec { version = "2.7.1"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - sha256 = "sha256-/74xTCvQPDQrnxaNznFa2PNigesjFyoAlwiCqTRP6Yg="; + hash = "sha256-/74xTCvQPDQrnxaNznFa2PNigesjFyoAlwiCqTRP6Yg="; }; buildInputs = [ @@ -38,7 +41,8 @@ buildPythonPackage rec { meta = with lib; { description = "Histogramming for analysis powered by boost-histogram"; - homepage = "https://hist.readthedocs.io/en/latest/"; + homepage = "https://hist.readthedocs.io/"; + changelog = "https://github.com/scikit-hep/hist/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ veprbl ]; };