aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/phx-class-registry/default.nix
blob: db0359a1d4fc013d0a8f686354c9257acfde7025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}