diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-05-04 20:37:35 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-05-07 15:38:28 +0100 |
commit | bb490600399f62aefa049a1450d4760c486fca14 (patch) | |
tree | b959858c2cb01a5eabf0244366ced6ae4a7988be /gnu/packages/irc.scm | |
parent | 4f4034bb46ab9cf7b2bb292cbd050644d32e6c03 (diff) | |
download | guix-bb490600399f62aefa049a1450d4760c486fca14.tar.gz guix-bb490600399f62aefa049a1450d4760c486fca14.zip |
gnu: Add python-irc-parser-tests.
* gnu/packages/irc.scm (python-irc-parser-tests): New variable.
Change-Id: Iaffea626ed06e228562b3c92123d30c9712de7c3
Diffstat (limited to 'gnu/packages/irc.scm')
-rw-r--r-- | gnu/packages/irc.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 39b915a518..a310dd529b 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -44,6 +44,7 @@ #:use-module (guix build-system haskell) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix build-system qt) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -753,6 +754,33 @@ interface for those who are accustomed to the ircII way of doing things.") ;; distribute binaries. (license:non-copyleft "http://epicsol.org/copyright"))))) +(define-public python-irc-parser-tests + (package + (name "python-irc-parser-tests") + (version "0.0.4") + (source + (origin + (method git-fetch) ; PyPI has a broken tests and data locations + (uri (git-reference + (url "https://github.com/ircdocs/parser-tests") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x0psq31f43d88b8jhaqwd9f1ykiqm4j13i8nxgcgkgp992cw002")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Tests require python-girc which fails to build on Python 3.10. + #:tests? #f)) + (propagated-inputs (list python-pyyaml)) + (home-page "https://github.com/ircdocs/parser-tests") + (synopsis "Tests for various IRC protocol parsers") + (description + "This package provides a library of tests for various IRC protocol +parsers") + (license (list license:cc0 + license:public-domain)))) + (define-public go-gopkg-in-irc-v3 (package (name "go-gopkg-in-irc-v3") |