Files
nixpkgs/pkgs/development/python-modules/cachy/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
833 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 = {
homepage = "https://github.com/sdispater/cachy";
description = "Cachy provides a simple yet effective caching library";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jakewaksbaum ];
};
}