gnu: Add python-unalix.

* gnu/packages/python-xyz.scm (python-unalix): New variable.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
jgart 2021-11-30 19:17:38 -05:00 committed by Maxim Cournoyer
parent aef87f82c2
commit 3609dcd200
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2785,6 +2785,36 @@ (define-public python2-rauth
(native-inputs `(("python2-unittest2" ,python2-unittest2) (native-inputs `(("python2-unittest2" ,python2-unittest2)
,@(package-native-inputs base)))))) ,@(package-native-inputs base))))))
(define-public python-unalix
(package
(name "python-unalix")
(version "0.9")
(source
(origin
;; There's only a wheel on PyPI.
(method git-fetch)
(uri (git-reference
(url "https://github.com/AmanoTeam/Unalix")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0h8wc1axv26h753a8brc6dccqndx005c2bhr09gwg5c1hj9zsfml"))))
(build-system python-build-system)
(native-inputs (list python-pytest))
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))))
(home-page "https://pypi.org/project/Unalix/")
(synopsis "Python library for removing tracking fields from URLs")
(description "Unalix is a library written in Python implementing the
specification used by the @url{https://github.com/ClearURLs/Addon, ClearURLs}
addon for removing tracking fields from URLs.")
(license license:lgpl3+)))
(define-public python-urllib3 (define-public python-urllib3
(package (package
(name "python-urllib3") (name "python-urllib3")