2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
isPy3k,
|
|
|
|
}:
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "web-cache";
|
|
|
|
version = "1.1.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-03-09 03:18:52 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "web_cache";
|
|
|
|
sha256 = "1d8f1s3i0s3h1jqvjq6cp639hhbbpxvyq7cf9dwzrvvvr0s0m8fm";
|
|
|
|
};
|
|
|
|
|
|
|
|
# No tests in downloaded archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "web_cache" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple Python key-value storage backed up by sqlite3 database";
|
|
|
|
homepage = "https://github.com/desbma/web_cache";
|
|
|
|
license = licenses.lgpl2Plus;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ moni ];
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|