about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cachey/default.nix
blob: aff819adcad87af8013e5bbef14d6f87d013b8a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, typing-extensions
, heapdict
, pytestCheckHook
, pythonOlder
}: buildPythonPackage rec {
  pname = "cachey";
  version = "0.2.1";
  format = "setuptools";
  disabled = pythonOlder "3.6";
  src = fetchFromGitHub {
    owner = "dask";
    repo = pname;
    rev = version;
    sha256 = "sha256-5USmuufrrWtmgibpfkjo9NtgN30hdl8plJfythmxM4s=";
  };
  propagatedBuildInputs = [ typing-extensions heapdict ];
  checkInputs = [ pytestCheckHook ];
  pythonImportsCheck = [
    "cachey"
  ];
  meta = with lib; {
    description = "Caching based on computation time and storage space";
    homepage = "https://github.com/dask/cachey/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ SomeoneSerge ];
  };
}