From 81503a91c8b74fa2a4dfd2c21c2232d00dce8d34 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Dec 2022 08:58:13 +0100 Subject: [PATCH] python310Packages.pytest-filter-subpackage: add changelog to meta --- .../pytest-filter-subpackage/default.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-filter-subpackage/default.nix b/pkgs/development/python-modules/pytest-filter-subpackage/default.nix index a66f26275fc6..9142d3d62792 100644 --- a/pkgs/development/python-modules/pytest-filter-subpackage/default.nix +++ b/pkgs/development/python-modules/pytest-filter-subpackage/default.nix @@ -5,23 +5,29 @@ , pytest-cov , pytest-doctestplus , pytestCheckHook +, pythonOlder , setuptools-scm }: buildPythonPackage rec { pname = "pytest-filter-subpackage"; version = "0.1.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-H66jZxeAPlJFiNbBCdJtINOzRCLo1qloEnWJd9ygF4I="; + hash = "sha256-H66jZxeAPlJFiNbBCdJtINOzRCLo1qloEnWJd9ygF4I="; }; nativeBuildInputs = [ setuptools-scm ]; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; propagatedBuildInputs = [ pytest-doctestplus @@ -33,11 +39,15 @@ buildPythonPackage rec { ]; # missing some files - disabledTests = [ "with_rst" ]; + disabledTests = [ + "with_rst" + ]; meta = with lib; { description = "Meta-package containing dependencies for testing"; - homepage = "https://astropy.org"; + homepage = "https://github.com/astropy/pytest-filter-subpackage"; + changelog = "https://github.com/astropy/pytest-filter-subpackage/blob/v${version}/CHANGES.rst"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; }