nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7 mako,
8 decorator,
9 stevedore,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "dogpile-cache";
15 version = "1.5.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 pname = "dogpile_cache";
20 inherit version;
21 hash = "sha256-hJxVc8mjjxVc1BcxA8cCtjft4DYcEuhkh2h30M0SXuw=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 decorator
28 stevedore
29 typing-extensions
30 ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 mako
35 ];
36
37 meta = {
38 description = "Caching front-end based on the Dogpile lock";
39 homepage = "https://github.com/sqlalchemy/dogpile.cache";
40 license = lib.licenses.bsd3;
41 maintainers = [ ];
42 };
43}