python310Packages.hist: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-07-27 11:05:17 +02:00 committed by GitHub
parent 77ec700f57
commit 1086eb8574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@
, numpy , numpy
, pytestCheckHook , pytestCheckHook
, pytest-mpl , pytest-mpl
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,9 +16,11 @@ buildPythonPackage rec {
version = "2.7.1"; version = "2.7.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-/74xTCvQPDQrnxaNznFa2PNigesjFyoAlwiCqTRP6Yg="; hash = "sha256-/74xTCvQPDQrnxaNznFa2PNigesjFyoAlwiCqTRP6Yg=";
}; };
buildInputs = [ buildInputs = [
@ -38,7 +41,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Histogramming for analysis powered by boost-histogram"; 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; license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ]; maintainers = with maintainers; [ veprbl ];
}; };