1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6}:
7
8buildPythonPackage rec {
9 pname = "web-cache";
10 version = "1.1.0";
11 format = "setuptools";
12 disabled = !isPy3k;
13
14 src = fetchPypi {
15 inherit version;
16 pname = "web_cache";
17 sha256 = "1d8f1s3i0s3h1jqvjq6cp639hhbbpxvyq7cf9dwzrvvvr0s0m8fm";
18 };
19
20 # No tests in downloaded archive
21 doCheck = false;
22
23 pythonImportsCheck = [ "web_cache" ];
24
25 meta = with lib; {
26 description = "Simple Python key-value storage backed up by sqlite3 database";
27 homepage = "https://github.com/desbma/web_cache";
28 license = licenses.lgpl2Plus;
29 maintainers = with maintainers; [ moni ];
30 };
31}