From 2c3e1e15271759534b7b4a8d569c93fb2fe5c1ba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 24 Jan 2023 18:12:11 +0100 Subject: [PATCH] python310Packages.particle: add changelog to meta --- .../python-modules/particle/default.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/particle/default.nix b/pkgs/development/python-modules/particle/default.nix index 1564a4c21761..42896aeb0e60 100644 --- a/pkgs/development/python-modules/particle/default.nix +++ b/pkgs/development/python-modules/particle/default.nix @@ -19,6 +19,7 @@ buildPythonPackage rec { inherit pname version; sha256 = "sha256-SDdIg05+gfLNaQ+glitTf3Z/6K9HBci62mjIu9rIoX0="; }; + nativeBuildInputs = [ setuptools-scm ]; @@ -29,6 +30,12 @@ buildPythonPackage rec { hepunits ]; + nativeCheckInputs = [ + pytestCheckHook + tabulate + pandas + ]; + pythonImportsCheck = [ "particle" ]; @@ -41,16 +48,13 @@ buildPythonPackage rec { rm tests/particle/test_performance.py ''; - nativeCheckInputs = [ - pytestCheckHook - tabulate - pandas - ]; - meta = { - description = "Package to deal with particles, the PDG particle data table, PDGIDs, etc."; + + meta = with lib; { + description = "Package to deal with particles, the PDG particle data table and others"; homepage = "https://github.com/scikit-hep/particle"; - license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ doronbehar ]; + changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}"; + license = licenses.bsd3; + maintainers = with maintainers; [ doronbehar ]; }; }