nixpkgs/pkgs/development/python-modules/web-cache/default.nix

26 lines
634 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
2021-02-28 07:33:50 +00:00
pname = "web-cache";
version = "1.1.0";
2021-02-28 07:33:50 +00:00
disabled = !isPy3k;
src = fetchPypi {
2021-02-28 07:33:50 +00:00
inherit version;
pname = "web_cache";
sha256 = "1d8f1s3i0s3h1jqvjq6cp639hhbbpxvyq7cf9dwzrvvvr0s0m8fm";
};
2021-02-28 07:33:50 +00:00
# No tests in downloaded archive
doCheck = false;
2021-02-28 07:33:50 +00:00
pythonImportsCheck = [ "web_cache" ];
meta = with lib; {
description = "Simple Python key-value storage backed up by sqlite3 database";
homepage = "https://github.com/desbma/web_cache";
2021-02-28 07:33:50 +00:00
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ fortuneteller2k ];
};
}