gnu: python-testpath: Use 'git-fetch'.

* gnu/packages/check.scm (python-testpath)[source]: Use 'git-fetch'.
This commit is contained in:
Efraim Flashner 2018-12-20 22:27:27 +02:00
parent 23ff7239f2
commit 52305b0ab3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1254,13 +1254,14 @@ (define-public python-testpath
(version "0.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/jupyter/testpath/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/jupyter/testpath")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"04kh3fgvmqz6cfcw79q70qwjz7ib7lxm27cc548iy2rpr33qqf55"))))
"0r4iiizjql6ny1ln7ciw7rrbjadz1s9zrf2hl0xkgnh3ypd8936f"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ; this package does not even have a setup.py