M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +13 -8
@@ 6375,20 6375,25 @@ and Numpy.")
(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)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pyro-ppl/pyro-api")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17x7niagx43cajqq67dxmssr7q94db6axyg154y7vqdxzp25hf7g"))))
+ (build-system pyproject-build-system)
(arguments '(#:tests? #false)) ;requires pyro
(native-inputs
(list python-flake8
python-ipython
python-pytest
+ python-setuptools
python-sphinx
- python-sphinx-rtd-theme))
+ python-sphinx-rtd-theme
+ python-wheel))
(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.")