From e4671456f66ae1ba9f8b310254e9fc548bf557b2 Mon Sep 17 00:00:00 2001 From: msglm Date: Mon, 10 Feb 2025 06:03:51 -0600 Subject: dogpile cache in bugwarrior --- bugwarrior.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/bugwarrior.scm b/bugwarrior.scm index 0e21bda..df05679 100644 --- a/bugwarrior.scm +++ b/bugwarrior.scm @@ -21,6 +21,35 @@ #:use-module (guix licenses) #:use-module (guix packages) ) + +(define-public python-dogpile.cache + (package + (name "python-dogpile.cache") + (version "1.1.8") + (source (origin + (method url-fetch) + (uri (pypi-uri "dogpile.cache" version)) + (sha256 + (base32 + "0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (native-inputs (list python-mako python-pytest)) + (propagated-inputs (list python-decorator python-stevedore)) + (home-page "https://github.com/sqlalchemy/dogpile.cache") + (synopsis "Caching front-end based on the Dogpile lock") + (description "@code{dogpile.cache} is a caching API which provides a +generic interface to caching backends of any variety, and additionally +provides API hooks which integrate these cache backends with the locking +mechanism of @code{dogpile}.") + (license license:expat))) + (define-public python-bugwarrior (package (name "python-bugwarrior") -- cgit v1.2.3