nixpkgs/pkgs/development/python-modules/trove-classifiers/default.nix
Fabian Affolter 5f1c4f33a8
python310Packages.trove-classifiers: add changelog to meta
- disable on unsupported Python releases
2023-01-19 08:55:58 +01:00

39 lines
791 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, calver
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "trove-classifiers";
version = "2023.1.12";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-66Rg2DJg/PNkjXyKy/IgQ0T9eF+JD7rstoZKf7nwaS4=";
};
nativeBuildInputs = [
calver
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "trove_classifiers" ];
meta = {
description = "Canonical source for classifiers on PyPI";
homepage = "https://github.com/pypa/trove-classifiers";
changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}