about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cachey/default.nix
blob: ac175fa0793a30ec78beaf778811d2d74f27d9bb (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;
    hash = "sha256-5USmuufrrWtmgibpfkjo9NtgN30hdl8plJfythmxM4s=";
  };
  propagatedBuildInputs = [ typing-extensions heapdict ];
  nativeCheckInputs = [ 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 ];
  };
}