[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/17: gnu: cpp-mustache: Update to 5.0 to fix build.
From: |
guix-commits |
Subject: |
04/17: gnu: cpp-mustache: Update to 5.0 to fix build. |
Date: |
Fri, 2 Jun 2023 11:24:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c3f94451445558c4c2302213361430b96b6c6157
Author: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
AuthorDate: Thu May 18 17:51:18 2023 +0200
gnu: cpp-mustache: Update to 5.0 to fix build.
* gnu/packages/cpp.scm (cpp-mustache): Update to 5.0.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/cpp.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index a4913dbce0..9983213f7f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2023 Sughosha <Sughosha@proton.me>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2023 Liliana Marie Prikler <liliana.prikler@gmail.com>
+;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2090,29 +2091,35 @@ but implemented for C++11, C++14, C++17 or C++20.")
(define-public cpp-mustache
(package
(name "cpp-mustache")
- (version "4.1")
+ (version "5.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kainjow/Mustache")
- (commit (string-append "v" version))))
+ (commit "4ed8c0b5a2a43d59394bd6900dc04e738dbf8c02")))
(file-name (git-file-name name version))
(sha256
(base32
- "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
+ "0qwrg35gby851viwd6dgrc346712701a0gll8a0m4xs8invxavrh"))))
(build-system cmake-build-system)
(arguments
- (list #:phases
+ (list #:configure-flags
+ #~(list
+ (string-append "-DCMAKE_CXX_FLAGS=-I"
+ #$(this-package-native-input "catch2")
+ "/include/catch2/"))
+ #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "./mustache"))))
+ (invoke "./tests/mustache-unit-tests"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(install-file "../source/mustache.hpp"
(string-append (assoc-ref outputs "out")
"/include")))))))
+ (native-inputs (list catch2))
(home-page "https://github.com/kainjow/Mustache")
(synopsis "Mustache text templates for modern C++")
(description "@code{cpp-mustache} is a Mustache implementation for C++ 11
- branch master updated (a7d9cd742c -> 69dfdb7bd1), guix-commits, 2023/06/02
- 05/17: gnu: python-docrepr: Fix tests., guix-commits, 2023/06/02
- 03/17: gnu: gcc-boot0: Do not use 'coreutils-boot0' on GNU/Hurd., guix-commits, 2023/06/02
- 08/17: gnu: cuirass: Update to b825967., guix-commits, 2023/06/02
- 01/17: ci: Reify the timestamps of evaluations., guix-commits, 2023/06/02
- 02/17: read-print: Add 'package/inherit' special form., guix-commits, 2023/06/02
- 04/17: gnu: cpp-mustache: Update to 5.0 to fix build.,
guix-commits <=
- 10/17: tests: Check for service existence in MODIFY-SERVICES, guix-commits, 2023/06/02
- 11/17: services: Error in MODIFY-SERVICES when services don't exist, guix-commits, 2023/06/02
- 13/17: gnu: Add ocaml-parmap., guix-commits, 2023/06/02
- 14/17: gnu: Add ocaml-stdcompat., guix-commits, 2023/06/02
- 06/17: gnu: python-ipython-documentation: Remove patches., guix-commits, 2023/06/02
- 07/17: gnu: python-ipython-documentation: Update dependencies., guix-commits, 2023/06/02
- 09/17: tests: Add tests for MODIFY-SERVICES procedure, guix-commits, 2023/06/02
- 12/17: gnu: Add tmux-plugin-mem-cpu-load., guix-commits, 2023/06/02
- 15/17: gnu: Add ocaml-pyml., guix-commits, 2023/06/02
- 17/17: environment: Fix unbound-variable bug with '--symlink'., guix-commits, 2023/06/02