python2.pkgs.catalogue: keep 1.0.0 for python 2
This commit is contained in:
parent
c75fec1a79
commit
82c8cfe12c
24
pkgs/development/python-modules/catalogue/1.nix
Normal file
24
pkgs/development/python-modules/catalogue/1.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -566,7 +566,10 @@ in {
|
||||
|
||||
cadquery = callPackage ../development/python-modules/cadquery { };
|
||||
|
||||
catalogue = callPackage ../development/python-modules/catalogue { };
|
||||
catalogue = if isPy3k then
|
||||
callPackage ../development/python-modules/catalogue { }
|
||||
else
|
||||
callPackage ../development/python-modules/catalogue/1.nix { };
|
||||
|
||||
cbeams = callPackage ../misc/cbeams { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user