depot/third_party/nixpkgs/pkgs/development/python-modules/dogpile-cache/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

47 lines
827 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 = "A caching front-end based on the Dogpile lock";
homepage = "https://github.com/sqlalchemy/dogpile.cache";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}