gnu: Add python-irc-parser-tests.

* gnu/packages/irc.scm (python-irc-parser-tests): New variable.

Change-Id: Iaffea626ed06e228562b3c92123d30c9712de7c3
This commit is contained in:
Sharlatan Hellseher 2024-05-04 20:37:35 +01:00
parent 4f4034bb46
commit bb49060039
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -44,6 +44,7 @@ (define-module (gnu packages irc)
#: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 @@ (define-public epic5
;; 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")