gnu: pybind11: Don't use unstable tarball.

* gnu/packages/python.scm (pybind11)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-15 04:58:14 +02:00
parent 61853b7447
commit 5c34d97187
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -13784,14 +13784,14 @@ under Python 2.7.")
(name "pybind11")
(version "2.2.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/pybind/pybind11/archive/v"
version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/pybind/pybind11.git")
(commit (string-append "v" version))))
(sha256
(base32
"1sj0x4fwsbnwdai5sxpw1l1vh8m5hpbkfk3zanxcbcgs39jpnfrs"))
(file-name (string-append name "-" version ".tar.gz"))))
"111aagiy7lwf3gzf2hzg7sbgs2lxgj473bf75bqqfmhcbvf71vsq"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(native-inputs
`(("python" ,python)