mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add python-omnipath.
* gnu/packages/python-web.scm (python-omnipath): New variable.
This commit is contained in:
parent
6cac909c95
commit
23a575f97c
1 changed files with 49 additions and 0 deletions
|
@ -119,6 +119,7 @@ (define-module (gnu packages python-web)
|
|||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages time)
|
||||
#:use-module (gnu packages version-control)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
|
@ -1752,6 +1753,54 @@ (define-public python-webencodings
|
|||
is Python’s.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-omnipath
|
||||
(package
|
||||
(name "python-omnipath")
|
||||
(version "1.0.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "omnipath" version))
|
||||
(sha256
|
||||
(base32
|
||||
"01hmcp1202g5drs8dkxnyyb5v14g503dj4zfiqypghmigi9ipw86"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax
|
||||
(lambda _
|
||||
(substitute* "requirements.txt"
|
||||
(("wrapt>=1.12.0")
|
||||
"wrapt>=1.11.0"))))
|
||||
(add-after 'unpack 'set-home
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(propagated-inputs
|
||||
(list python-attrs
|
||||
python-docrep
|
||||
python-inflect
|
||||
python-networkx
|
||||
python-packaging
|
||||
python-pandas
|
||||
python-requests
|
||||
python-tqdm
|
||||
python-typing-extensions
|
||||
python-urllib3
|
||||
python-wrapt))
|
||||
(native-inputs
|
||||
(list python-bump2version
|
||||
python-pre-commit
|
||||
python-pytest
|
||||
python-pytest-mock
|
||||
python-requests-mock
|
||||
python-setuptools-scm
|
||||
python-tox))
|
||||
(home-page "https://omnipathdb.org/")
|
||||
(synopsis "Python client for the OmniPath web service")
|
||||
(description "This package provides a Python client for the OmniPath web
|
||||
service.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-openapi-schema-validator
|
||||
(package
|
||||
(name "python-openapi-schema-validator")
|
||||
|
|
Loading…
Reference in a new issue