(define-module (bugwarrior) #:use-module ((guix licenses) :prefix license:) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages glib) #:use-module (gnu packages python) #:use-module (gnu packages openstack) #:use-module (gnu packages python-build) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages time) #:use-module (gnu packages task-management) #:use-module (gnu packages) #:use-module (guix build utils) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) #: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") (version "ce92e3a4f05f5d78e13d2924c27d8743813fb2f9") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/GothenburgBitFactory/bugwarrior.git") (commit version))) (sha256 (base32 "0v96zg2ga8cw84zx12dvh3m995adf5k40x9cs53waxranxvm4k0a")) (modules '((guix build utils))) (patches (search-patches "aux-files/python-bugwarrior/gitea-support.patch")) )) (build-system pyproject-build-system) (arguments (list #:tests? #f #:phases #~(modify-phases %standard-phases (delete 'sanity-check) ;we're going crazy, since sanity crashes. ))) (inputs (list python-click python-dogpile.cache python-future python-jinja2 python-lockfile python-dateutil python-pytz python-requests python-six python-taskw python-tomli python-pygobject python-notify2 python-pydantic-2 python-google-api-client python-google-auth-oauthlib )) (native-inputs (list python-email-validator-2.1.1)) (home-page "http://github.com/ralphbean/bugwarrior") (synopsis "Sync github, bitbucket, and trac issues with taskwarrior") (description "Sync github, bitbucket, and trac issues with taskwarrior") (license license:gpl3))) (define-public python-email-validator-2.1.1 (package (name "python-email-validator") (version "2.1.2") (source (origin (method url-fetch) (uri (pypi-uri "email_validator" version)) (sha256 (base32 "0k7hm433xm9syxfq486zflxf7fqiljgv688480vxmgn48g9z7h0l")))) (build-system pyproject-build-system) (propagated-inputs (list python-dnspython python-idna)) (native-inputs (list python-setuptools python-wheel)) (arguments '( #:phases (modify-phases %standard-phases (delete 'check) ;Networking required for checks, so disable them ))) (home-page "https://github.com/JoshData/python-email-validator") (synopsis "A robust email address syntax and deliverability validation library.") (description "This package provides a robust email address syntax and deliverability validation library.") (license license:unlicense))) (define-public python-taskw (package (name "python-taskw") (version "2.0.0") (source (origin (method url-fetch) (uri (pypi-uri "taskw" version)) (sha256 (base32 "1pcbai69la53fjn2ahmni18zcgrhg34058q7a0mb7ag7ppwvs28i")))) (build-system pyproject-build-system) (propagated-inputs (list python-kitchen python-dateutil python-pytz taskwarrior python-setuptools python-wheel python-pytest)) (arguments '( #:phases (modify-phases %standard-phases (delete 'check) ;Networking required for checks, so disable them ))) (home-page "http://github.com/ralphbean/taskw") (synopsis "Python bindings for your taskwarrior database") (description "Python bindings for your taskwarrior database") (license license:gpl3)))