[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/12: gnu: json-modern-cxx: Fetch from git.
From: |
guix-commits |
Subject: |
06/12: gnu: json-modern-cxx: Fetch from git. |
Date: |
Thu, 31 Jan 2019 15:21:57 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 8f22bf9e6d4985fed9ff3b4e09d53ae1b95e1568
Author: Marius Bakke <address@hidden>
Date: Wed Jan 30 20:08:52 2019 +0100
gnu: json-modern-cxx: Fetch from git.
* gnu/packages/cpp.scm (json-modern-cxx)[source]: Use GIT-FETCH.
[source](snippet): End on #t.
---
gnu/packages/cpp.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f5aa447..4e8f122 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -203,15 +203,16 @@ as ordering relation.")
(package
(name "json-modern-cxx")
(version "3.1.2")
+ (home-page "https://github.com/nlohmann/json")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/nlohmann/json/archive/v" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
(sha256
(base32
- "0m5fhdpx2qll933db2nsi30nns3cifavzvijzz6mxhdkpmngmzz8"))
- (file-name (string-append name "-" version ".tar.gz"))
+ "1mpr781fb2dfbyscrr7nil75lkxsazg4wkm749168lcf2ksrrbfi"))
+ (file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
@@ -227,13 +228,13 @@ as ordering relation.")
(substitute* files
(("#include ?\"(fifo_map.hpp)\"" all fifo-map-hpp)
(string-append
- "#include <fifo_map/" fifo-map-hpp ">")))))))))
+ "#include <fifo_map/" fifo-map-hpp ">")))))
+ #t))))
(native-inputs
`(("amalgamate" ,amalgamate)))
(inputs
`(("catch2" ,catch-framework2)
("fifo-map" ,fifo-map)))
- (home-page "https://github.com/nlohmann/json")
(build-system cmake-build-system)
(synopsis "JSON parser and printer library for C++")
(description "JSON for Modern C++ is a C++ JSON library that provides
- branch master updated (9117d6d -> 8424359), guix-commits, 2019/01/31
- 04/12: gnu: libwebp: Update to 1.0.2., guix-commits, 2019/01/31
- 03/12: gnu: p11-kit: Update to 0.23.15., guix-commits, 2019/01/31
- 07/12: gnu: whois: Update to 5.4.1., guix-commits, 2019/01/31
- 08/12: gnu: VTK: Use HTTPS URLs., guix-commits, 2019/01/31
- 09/12: gnu: VTK: Update to 8.2.0., guix-commits, 2019/01/31
- 06/12: gnu: json-modern-cxx: Fetch from git.,
guix-commits <=
- 01/12: gnu: msmtp: Update to 1.8.2., guix-commits, 2019/01/31
- 02/12: gnu: i3-wm: Update to 4.16.1., guix-commits, 2019/01/31
- 05/12: gnu: httpd: Update to 2.4.38., guix-commits, 2019/01/31
- 10/12: gnu: address@hidden: Update to 1.11.12., guix-commits, 2019/01/31
- 11/12: gnu: hwloc: Update to 2.0.3., guix-commits, 2019/01/31
- 12/12: gnu: lookingglass: Download from git., guix-commits, 2019/01/31