1{ lib, buildPythonPackage, fetchPypi, isPy27, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "phx-class-registry";
5 version = "3.0.5";
6
7 disabled = isPy27;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "14iap8db2ldmnlf5kvxs52aps31rl98kpa5nq8wdm30a86n6457i";
12 };
13
14 checkInputs = [ pytestCheckHook ];
15
16 disabledTests = [
17 "test_branding"
18 "test_happy_path"
19 "test_len"
20 ];
21
22 meta = with lib; {
23 description = "Registry pattern for Python classes, with setuptools entry points integration";
24 homepage = "https://github.com/todofixthis/class-registry";
25 license = licenses.mit;
26 maintainers = with maintainers; [ SuperSandro2000 ];
27 };
28}