Files
nixpkgs/pkgs/development/python-modules/dogpile-cache/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

47 lines
789 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
pytestCheckHook,
mako,
decorator,
stevedore,
typing-extensions,
}:
buildPythonPackage rec {
pname = "dogpile-cache";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "dogpile_cache";
inherit version;
hash = "sha256-4lxg5nel4o/4YSR2X78YxTJXvNeDB0nNW6NQrOKhKYk=";
};
build-system = [ setuptools ];
dependencies = [
decorator
stevedore
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
mako
];
meta = {
description = "Caching front-end based on the Dogpile lock";
homepage = "https://github.com/sqlalchemy/dogpile.cache";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}