depot/third_party/nixpkgs/pkgs/development/python-modules/persistent/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

43 lines
734 B
Nix

{ lib
, buildPythonPackage
, cffi
, fetchPypi
, zope_interface
, sphinx
, manuel
, pythonOlder
}:
buildPythonPackage rec {
pname = "persistent";
version = "4.9.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8j6yXqRbvKa/YgSwKKCn6qFz0ngdaP9XzVhhzBoNDtA=";
};
nativeBuildInputs = [
sphinx
manuel
];
propagatedBuildInputs = [
zope_interface
cffi
];
pythonImportsCheck = [
"persistent"
];
meta = with lib; {
description = "Automatic persistence for Python objects";
homepage = "https://github.com/zopefoundation/persistent/";
license = licenses.zpl21;
maintainers = with maintainers; [ ];
};
}