Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / class-registry / default.nix
blob93c41cadea6e5f6a4c0b83c20a6eef44c28f3dd1
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   nose,
6   six,
7   typing,
8   isPy27,
9 }:
11 buildPythonPackage rec {
12   pname = "class-registry";
13   version = "2.1.2";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
18   };
20   propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
21   checkInputs = [ nose ];
23   # Tests currently failing.
24   doCheck = false;
26   meta = {
27     description = "Factory+Registry pattern for Python classes.";
28     homepage = "https://class-registry.readthedocs.io/en/latest/";
29     license = lib.licenses.mit;
30     maintainers = with lib.maintainers; [ kevincox ];
31   };