python2Packages.catalogue: remove

This commit is contained in:
Daniël de Kok 2020-06-20 13:38:17 +02:00
parent 916330f28e
commit be79367b25
3 changed files with 4 additions and 28 deletions

View File

@ -1,24 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, importlib-metadata
}:
buildPythonPackage rec {
pname = "catalogue";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5";
};
propagatedBuildInputs = [ importlib-metadata ];
meta = with stdenv.lib; {
description = "Tiny library for adding function or object registries";
homepage = "https://github.com/explosion/catalogue";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
}

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
}:
@ -8,6 +9,8 @@ buildPythonPackage rec {
pname = "catalogue";
version = "2.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816";

View File

@ -569,10 +569,7 @@ in {
cadquery = callPackage ../development/python-modules/cadquery { };
catalogue = if isPy3k then
callPackage ../development/python-modules/catalogue { }
else
callPackage ../development/python-modules/catalogue/1.nix { };
catalogue = callPackage ../development/python-modules/catalogue { };
cbeams = callPackage ../misc/cbeams { };