python3Packages.persistent: add pythonImportsCheck
This commit is contained in:
parent
173256a821
commit
8fe4769dc7
1 changed files with 26 additions and 8 deletions
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue