diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix new file mode 100644 index 000000000000..db0359a1d4fc --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix @@ -0,0 +1,28 @@ +{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytestCheckHook }: + +buildPythonPackage rec { + pname = "phx-class-registry"; + version = "3.0.5"; + + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "14iap8db2ldmnlf5kvxs52aps31rl98kpa5nq8wdm30a86n6457i"; + }; + + checkInputs = [ pytestCheckHook ]; + + disabledTests = [ + "test_branding" + "test_happy_path" + "test_len" + ]; + + meta = with stdenv.lib; { + description = "Registry pattern for Python classes, with setuptools entry points integration"; + homepage = "https://github.com/todofixthis/class-registry"; + license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} |