[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: pybind11: Don't use unstable tarball.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/05: gnu: pybind11: Don't use unstable tarball. |
Date: |
Fri, 14 Sep 2018 23:21:32 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 5c34d97187f8378249bf6a340ccde9e721a5a22d
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Sep 15 04:58:14 2018 +0200
gnu: pybind11: Don't use unstable tarball.
* gnu/packages/python.scm (pybind11)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
---
gnu/packages/python.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b6dd3eb..afb3296 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -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)