From 3609dcd200059dee96fedc02dedca2b352345757 Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 30 Nov 2021 19:17:38 -0500 Subject: gnu: Add python-unalix. * gnu/packages/python-xyz.scm (python-unalix): New variable. Modified-by: Maxim Cournoyer Signed-off-by: Maxim Cournoyer --- gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 456323ca55..240c58b665 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2785,6 +2785,36 @@ authenticated session objects providing things like keep-alive.") (native-inputs `(("python2-unittest2" ,python2-unittest2) ,@(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 (package (name "python-urllib3") -- cgit v1.2.3