python310Packages.serpy: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-11-19 10:43:35 +01:00 committed by GitHub
parent 0f32fa6a34
commit 4bd1aa5006
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, six }:
{ 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 ];
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";