1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7 pytestCheckHook,
8 mako,
9 decorator,
10 stevedore,
11 typing-extensions,
12}:
13
14buildPythonPackage rec {
15 pname = "dogpile-cache";
16 version = "1.3.3";
17 format = "pyproject";
18
19 disabled = pythonOlder "3.6";
20
21 src = fetchPypi {
22 pname = "dogpile.cache";
23 inherit version;
24 hash = "sha256-+EuO0LD7KX0VEFVEf6jcr3uuVm1Nve/s3MHzdmKrWIs=";
25 };
26
27 nativeBuildInputs = [ setuptools ];
28
29 propagatedBuildInputs = [
30 decorator
31 stevedore
32 typing-extensions
33 ];
34
35 nativeCheckInputs = [
36 pytestCheckHook
37 mako
38 ];
39
40 meta = with lib; {
41 description = "Caching front-end based on the Dogpile lock";
42 homepage = "https://github.com/sqlalchemy/dogpile.cache";
43 license = licenses.bsd3;
44 maintainers = [ ];
45 };
46}