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