depot/third_party/nixpkgs/pkgs/development/python-modules/dogpile-cache/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

46 lines
813 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
pytestCheckHook,
mako,
decorator,
stevedore,
typing-extensions,
}:
buildPythonPackage rec {
pname = "dogpile-cache";
version = "1.3.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "dogpile.cache";
inherit version;
hash = "sha256-+EuO0LD7KX0VEFVEf6jcr3uuVm1Nve/s3MHzdmKrWIs=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
decorator
stevedore
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
mako
];
meta = with lib; {
description = "Caching front-end based on the Dogpile lock";
homepage = "https://github.com/sqlalchemy/dogpile.cache";
license = licenses.bsd3;
maintainers = [ ];
};
}