about summary refs log tree commit diff
path: root/pkgs/development/python-modules/serpy/default.nix
blob: 9f086e4c86e58473f1c90d50346f5125850d6b6e (plain) (blame)
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
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, six
, pythonOlder
}:

buildPythonPackage rec {
  pname = "serpy";
  version = "0.3.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3772b2a9923fbf674000ff51abebf6ea8f0fca0a2cfcbfa0d63ff118193d1ec5";
  };

  propagatedBuildInputs = [
    six
  ];

  # ImportError: No module named 'tests
  doCheck = false;

  pythonImportsCheck = [
    "serpy"
  ];

  meta = with lib; {
    description = "Ridiculously fast object serialization";
    homepage = "https://github.com/clarkduvall/serpy";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}