python3Packages.persistent: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-08 15:52:49 +01:00 committed by Jonathan Ringer
parent 173256a821
commit 8fe4769dc7

View file

@ -1,25 +1,43 @@
{ lib
, buildPythonPackage
, cffi
, fetchPypi
, zope_interface, cffi
, sphinx, manuel
, zope_interface
, sphinx
, manuel
, pythonOlder
}:
buildPythonPackage rec {
pname = "persistent";
version = "4.8.0";
format = "setuptools";
nativeBuildInputs = [ sphinx manuel ];
propagatedBuildInputs = [ zope_interface cffi ];
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-nRd+rT+jwfXWKjbUUmdUs3bgUEx9S3XLmqUvt3HexrI=";
hash = "sha256-nRd+rT+jwfXWKjbUUmdUs3bgUEx9S3XLmqUvt3HexrI=";
};
meta = {
nativeBuildInputs = [
sphinx
manuel
];
propagatedBuildInputs = [
zope_interface
cffi
];
pythonImportsCheck = [
"persistent"
];
meta = with lib; {
description = "Automatic persistence for Python objects";
homepage = "http://www.zodb.org/";
license = lib.licenses.zpl21;
homepage = "https://github.com/zopefoundation/persistent/";
license = licenses.zpl21;
maintainers = with maintainers; [ ];
};
}