4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
38 lines
797 B
Nix
38 lines
797 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, calver
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trove-classifiers";
|
|
version = "2023.2.20";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hgsMDYyeDTJinKXvE36h5jdYC2NLdLpA4VOf00RkwPU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|