ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / cachelib / default.nix
blob9a873d24f5638236ef6673ff9f865961f74b5aef
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest-xprocess
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "cachelib";
11   version = "0.9.0";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "pallets";
16     repo = pname;
17     rev = "refs/tags/${version}";
18     sha256 = "sha256-LO1VdirKWXIAy3U8oRtnFI58qO+yn6Vm5bZdCjdgKwo=";
19   };
21   checkInputs = [
22     pytest-xprocess
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [ "cachelib" ];
28   meta = with lib; {
29     homepage = "https://github.com/pallets/cachelib";
30     description = "Collection of cache libraries in the same API interface";
31     license = licenses.bsd3;
32     maintainers = with maintainers; [ gebner ];
33   };