nixpkgs/pkgs/development/python-modules/catalogue/default.nix
Daniël de Kok 5722718317 python3Packages.catalogue: 2.0.1 -> 2.0.4
catalogue now vendors importlib-metadata, so the importlib-metadata
dependency is obsolete.
2021-05-18 08:49:02 +02:00

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;
};
}