Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 606 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "catalogue"; 10 version = "2.0.4"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-ntNF0ShVrzFfFxVYNhKya4YhorCi4775dNxdcS95g6o="; 17 }; 18 19 checkInputs = [ pytestCheckHook ]; 20 21 meta = with lib; { 22 description = "Tiny library for adding function or object registries"; 23 homepage = "https://github.com/explosion/catalogue"; 24 changelog = "https://github.com/explosion/catalogue/releases/tag/v${version}"; 25 license = licenses.mit; 26 }; 27}