Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cachelib / default.nix
blob26b69651ffc347e2bef4d2c48a04ce05c4b6536d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest-xprocess
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "cachelib";
11   version = "0.13.0";
12   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "pallets";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-8jg+zfdIATvu/GSFvqHl4cNMu+s2IFWC22vPZ7Q3WYI=";
20   };
22   nativeCheckInputs = [
23     pytest-xprocess
24     pytestCheckHook
25   ];
27   disabledTestPaths = [
28     # requires set up local server
29     "tests/test_dynamodb_cache.py"
30     "tests/test_mongodb_cache.py"
31   ];
33   pythonImportsCheck = [ "cachelib" ];
35   meta = with lib; {
36     homepage = "https://github.com/pallets/cachelib";
37     description = "Collection of cache libraries in the same API interface";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ gebner ];
40   };