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