mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
28 lines
616 B
Nix
28 lines
616 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "catalogue";
|
|
version = "2.0.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|