python3Packages.catalogue: 2.0.4 -> 2.0.6

This commit is contained in:
Fabian Affolter 2021-08-24 22:47:51 +02:00
parent 098ca1a9aa
commit 8b11f1a56f

View file

@ -1,23 +1,30 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
, pytestCheckHook , pytestCheckHook
, pythonOlder
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "catalogue"; pname = "catalogue";
version = "2.0.4"; version = "2.0.6";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ntNF0ShVrzFfFxVYNhKya4YhorCi4775dNxdcS95g6o="; sha256 = "0idjhx2s8cy6ppd18k1zy246d97gdd6i217m5q26fwa47xh3asik";
}; };
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "catalogue" ];
meta = with lib; { meta = with lib; {
description = "Tiny library for adding function or object registries"; description = "Tiny library for adding function or object registries";
homepage = "https://github.com/explosion/catalogue"; homepage = "https://github.com/explosion/catalogue";