mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: Add python-ua-parser.
* gnu/packages/python.scm (python-ua-parser, python2-ua-parser): New variables. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
935d5ceb9b
commit
2ee67781ff
1 changed files with 25 additions and 0 deletions
|
@ -5006,6 +5006,31 @@ (define-public python-urwidtrees
|
|||
(define-public python2-urwidtrees
|
||||
(package-with-python2 python-urwidtrees))
|
||||
|
||||
(define-public python-ua-parser
|
||||
(package
|
||||
(name "python-ua-parser")
|
||||
(version "0.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "ua-parser" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1jwdf58rhchjzzrad405pviv0iq24xa2xmmmdgcm2c8s6b4wzfwp"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ;no test suite in release
|
||||
(native-inputs
|
||||
`(("python-pyyaml" ,python-pyyaml)))
|
||||
(home-page "https://github.com/ua-parser/uap-python")
|
||||
(synopsis "User agent parser")
|
||||
(description
|
||||
"@code{ua-parser} is a Python port of Browserscope's user agent parser.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public python2-ua-parser
|
||||
(package-with-python2 python-ua-parser))
|
||||
|
||||
(define-public python-dbus
|
||||
(package
|
||||
(name "python-dbus")
|
||||
|
|
Loading…
Reference in a new issue