diff options
author | msglm <msglm@techchud.xyz> | 2024-05-21 05:03:11 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2024-05-21 05:03:11 -0500 |
commit | 53a26180271f6beea1500521555c95b2c2eda195 (patch) | |
tree | bbfac422f8728ad7ee52bc043e87f2fdafadc30b /bugwarrior.scm | |
parent | edf10cc94ae46d73a2baf9f6e560129da1e3c03f (diff) | |
download | guix-msglm-53a26180271f6beea1500521555c95b2c2eda195.tar.gz guix-msglm-53a26180271f6beea1500521555c95b2c2eda195.tar.bz2 guix-msglm-53a26180271f6beea1500521555c95b2c2eda195.zip |
add bugwarrior support
Diffstat (limited to 'bugwarrior.scm')
-rw-r--r-- | bugwarrior.scm | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/bugwarrior.scm b/bugwarrior.scm new file mode 100644 index 0000000..e192602 --- /dev/null +++ b/bugwarrior.scm @@ -0,0 +1,119 @@ +(define-module (bugwarrior) + #: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 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-bugwarrior + (package + (name "python-bugwarrior") + (version "71efc97435a442646782dcb0979df43f69ce955d") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/GothenburgBitFactory/bugwarrior.git") + (commit version))) + (sha256 + (base32 "0d22av15dyan6yzhqxx01sf45i2fnk1i92wyh9hahfhmv3gawnj1")) + (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.7.1 + )) + (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 #f))) + + (define-public python-email-validator-2.1.1 + (package + (name "python-email-validator") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "email_validator" version)) + (sha256 + (base32 "112bhbxkwls2v0j5k6ir6iv6h3fc0n975vqydnz092d01dl702i0")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-dnspython python-idna)) + (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 #f))) + + (define-public python-pydantic-2.7.1 + (package + (inherit python-pydantic) + (name "python-email-validator") + (inputs (modify-inputs (package-inputs python-pydantic) + (prepend python-email-validator-2.1.1))) + (version "2.1.1") + )) + + (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)) + (native-inputs (list python-pytest taskwarrior)) + (home-page "http://github.com/ralphbean/taskw") + (synopsis "Python bindings for your taskwarrior database") + (description "Python bindings for your taskwarrior database") + (license #f))) + |