gnu: python-trezor-agent: Don't use unstable tarball.

* gnu/packages/finance.scm (python-trezor-agent)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2018-12-24 04:51:39 +01:00
parent 1fd71120a7
commit 39a7b72065
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 7 deletions

View File

@ -590,13 +590,13 @@ Monero GUI client.")
(version "0.9.4") (version "0.9.4")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/romanz/trezor-agent/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/romanz/trezor-agent.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "15aaqk79d9y9nbsfznf2iscz12z5ispcj8kr8v5bc0sqqj2brs12"))))
"0h8jb147vpjk7mqbl4za0xdh7lblhx07n9dfk80kn2plwnvrry1x"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -604,7 +604,7 @@ Monero GUI client.")
(delete 'check) (delete 'check)
(add-after 'install 'check (add-after 'install 'check
(lambda* (#:key outputs inputs #:allow-other-keys) (lambda* (#:key outputs inputs #:allow-other-keys)
;; Make installed package available for running the tests ;; Make installed package available for running the tests.
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "py.test")))))) (invoke "py.test"))))))
(propagated-inputs (propagated-inputs