Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
835 B
Nix
38 lines
835 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
redis,
|
|
python-memcached,
|
|
msgpack,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cachy";
|
|
version = "0.3.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
redis
|
|
python-memcached
|
|
msgpack
|
|
];
|
|
|
|
# The Pypi tarball doesn't include tests, and the GitHub source isn't
|
|
# buildable until we bootstrap poetry, see
|
|
# https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sdispater/cachy";
|
|
description = "Cachy provides a simple yet effective caching library";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
};
|
|
}
|