gnu: Add python-pyro-api.

* gnu/packages/machine-learning.scm (python-pyro-api): New variable.
This commit is contained in:
Ricardo Wurmus 2022-07-07 15:07:08 +02:00
parent 22e223e489
commit bafa7a00a1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3210,3 +3210,26 @@ (define-public liblantern
(description
"Lantern provides a C API to the libtorch machine learning library.")
(license license:expat)))
(define-public python-pyro-api
(package
(name "python-pyro-api")
(version "0.1.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "pyro-api" version))
(sha256
(base32
"086r2h6x9i5d9ayl1x65lx6p84rlydzsn8xingxc588ab3ch1fd1"))))
(build-system python-build-system)
(arguments '(#:tests? #false)) ;requires pyro
(native-inputs
(list python-flake8
python-ipython
python-pytest
python-sphinx
python-sphinx-rtd-theme))
(home-page "https://github.com/pyro-ppl/pyro-api")
(synopsis "Generic API for dispatch to Pyro backends.")
(description "This package provides a generic API for dispatch to Pyro backends.")
(license license:asl2.0)))