Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / catalogue / default.nix
blobd07b7f29dc396c6d9564e31e4086a61eb65e4681
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , importlib-metadata
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "catalogue";
11   version = "2.0.1";
13   disabled = pythonOlder "3.6";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "0d01077dbfca7aa53f3ef4adecccce636bce4f82e5b52237703ab2f56478e56e";
18   };
20   propagatedBuildInputs = [ importlib-metadata ];
22   checkInputs = [ pytestCheckHook ];
24   meta = with lib; {
25     description = "Tiny library for adding function or object registries";
26     homepage = "https://github.com/explosion/catalogue";
27     changelog = "https://github.com/explosion/catalogue/releases/tag/v${version}";
28     license = licenses.mit;
29   };