83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
38 lines
796 B
Nix
38 lines
796 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, calver
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trove-classifiers";
|
|
version = "2023.3.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-7kLy+MHUvP4190bkcvB2M1cNSF+rRUB+/8A3knCjuwM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
calver
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|