39 lines
791 B
Nix
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 ];
|
||
|
};
|
||
|
}
|