Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, calver 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "trove-classifiers"; 11 version = "2023.5.24"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-/VoVRig76UH0dUChNb3q6PsmE4CmogTZwYAS8qGwzq4="; 19 }; 20 21 nativeBuildInputs = [ 22 calver 23 ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "trove_classifiers" ]; 30 31 meta = { 32 description = "Canonical source for classifiers on PyPI"; 33 homepage = "https://github.com/pypa/trove-classifiers"; 34 changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}"; 35 license = lib.licenses.asl20; 36 maintainers = with lib.maintainers; [ dotlambda ]; 37 }; 38}