5722718317
catalogue now vendors importlib-metadata, so the importlib-metadata dependency is obsolete.
28 lines
606 B
Nix
28 lines
606 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "catalogue";
|
|
version = "2.0.4";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ntNF0ShVrzFfFxVYNhKya4YhorCi4775dNxdcS95g6o=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Tiny library for adding function or object registries";
|
|
homepage = "https://github.com/explosion/catalogue";
|
|
changelog = "https://github.com/explosion/catalogue/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
};
|
|
}
|