nixpkgs/pkgs/development/python-modules/serpy/default.nix
2017-12-31 10:55:18 +01:00

27 lines
610 B
Nix

{ lib, buildPythonPackage, fetchPypi,
flake8, py, pyflakes, six, tox
}:
buildPythonPackage rec {
pname = "serpy";
name = "${pname}-${version}";
version = "0.3.1";
meta = {
description = "ridiculously fast object serialization";
homepage = https://github.com/clarkduvall/serpy;
license = lib.licenses.mit;
};
src = fetchPypi {
inherit pname version;
sha256 = "3772b2a9923fbf674000ff51abebf6ea8f0fca0a2cfcbfa0d63ff118193d1ec5";
};
buildInputs = [ flake8 py pyflakes tox ];
propagatedBuildInputs = [ six ];
# ImportError: No module named 'tests
doCheck = false;
}