5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
34 lines
655 B
Nix
34 lines
655 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|