summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/web-cache/default.nix
blob: 816ee85cab5a7fc3b0793fc5494313ac35069311 (plain)
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
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy3k,
}:

buildPythonPackage rec {
  pname = "web-cache";
  version = "1.1.0";
  format = "setuptools";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit version;
    pname = "web_cache";
    sha256 = "1d8f1s3i0s3h1jqvjq6cp639hhbbpxvyq7cf9dwzrvvvr0s0m8fm";
  };

  # No tests in downloaded archive
  doCheck = false;

  pythonImportsCheck = [ "web_cache" ];

  meta = {
    description = "Simple Python key-value storage backed up by sqlite3 database";
    homepage = "https://github.com/desbma/web_cache";
    license = lib.licenses.lgpl2Plus;
    maintainers = with lib.maintainers; [ moni ];
  };
}