From 06755dca1143174ddf6b511f7d60462817730402 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 26 Mar 2024 17:18:54 -0400 Subject: gnu: Add syscmdline. * gnu/packages/cpp.scm (syscmdline): New variable. Change-Id: I721b0eb5358cf41eade23c093b506b4750c53082 --- gnu/packages/cpp.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index acbe3e4836..65aa717c3d 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -924,6 +924,49 @@ concurrent queue for C++11.") lock-free fixed size queue written in C++11.") (license license:expat))) +(define-public syscmdline + (package + (name "syscmdline") + (version "0.0.1.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SineStriker/syscmdline") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00n9vkyymp1dzixxl93f6pkpd3ndsk1vib7shhlxv4zvy5hjqhqw")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DSYSCMDLINE_BUILD_STATIC=OFF" ;build a shared library + "-DSYSCMDLINE_BUILD_TESTS=ON") + #:phases #~(modify-phases %standard-phases + (replace 'check + ;; There isn't currently any exposed test target. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "bin/tst_basic"))))))) + (home-page "https://github.com/SineStriker/syscmdline") + (synopsis "C++ advanced command line parser") + (description "SysCmdLine is a C++ command line parser that is inspired by +@code{QCommandLineParser} from Qt and @code{System.CommandLine} from C#. It +has features such as: +@itemize +@item Support sub-commands +@item Support case-insensitive parsing +@item Support global options +@item Support mutually exclusive options +@item Support short options and group flags +@item Support help text customization +@item Support localization +@item Simple tips for typo correction +@item Highly configurable +@item Friendly interface +@end itemize") + (license license:expat))) + (define-public gperftools (package (name "gperftools") -- cgit v1.2.3 From 8eccb9b95aed850b1977301693a2bebaabda3d46 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 30 Mar 2024 17:22:43 -0400 Subject: gnu: sobjectizer: Update to 5.8.2. * gnu/packages/cpp.scm (sobjectizer): Update to 5.8.2. [arguments]: Delete trailing #t. Change-Id: I639ca0a7324987534eda13e63c44ec8c7ace0139 --- gnu/packages/cpp.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 65aa717c3d..f3c88d656f 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1161,7 +1161,7 @@ code and retrieving their output.") (define-public sobjectizer (package (name "sobjectizer") - (version "5.7.2.6") + (version "5.8.2") (source (origin (method git-fetch) @@ -1169,7 +1169,7 @@ code and retrieving their output.") (url "https://github.com/Stiffstream/sobjectizer") (commit (string-append "v." version)))) (sha256 - (base32 "0n6smpjkkkw0xab8wcpy3p0dpw2v9sxgwl6azl3am6abmv4mff12")) + (base32 "0ya5xlgm3arvzvcnsajw03kc3cibbdbap9p7kgpxn00byqbxixr7")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments @@ -1178,8 +1178,7 @@ code and retrieving their output.") (modify-phases %standard-phases (add-after 'unpack 'change-directory (lambda _ - (chdir "dev") - #t))))) + (chdir "dev")))))) (home-page "https://stiffstream.com/en/products/sobjectizer.html") (synopsis "Cross-platform actor framework for C++") (description -- cgit v1.2.3 From 69b8feabcf838ce935e914db653e275c0c4f562f Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Wed, 20 Mar 2024 17:27:05 +0100 Subject: gnu: kokkos: Update to 4.2.01. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cpp.scm (kokkos): Update to 4.2.01. Change-Id: I29df429ad8d347ba486f0a59bf1c4e2a106e51d1 Signed-off-by: Ludovic Courtès --- gnu/packages/cpp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index f3c88d656f..d4123c7bf4 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1213,7 +1213,7 @@ programs.") (define-public kokkos (package (name "kokkos") - (version "4.1.00") + (version "4.2.01") (source (origin (method git-fetch) @@ -1222,7 +1222,7 @@ programs.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "15kjpa54ssrrbid9h2nr94nh85qna5c4vq2152i4iy7gaagigy3c")) + (base32 "1bvxcy11as38ng9vdp93mrdvm7sgwqjrm67p53wr1aj7x3pq3hbp")) (modules '((guix build utils))) (snippet ;; Remove bundled googletest. -- cgit v1.2.3 From 81c6c8a01b91e65732f64afbb35980742441a5fd Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 25 Mar 2024 15:10:56 -0300 Subject: gnu: openimageio: Update to 2.5.10.1. * gnu/packages/graphics.scm (openimageio): Update to 2.5.10.1. [source]: Adjust tag prefix. [arguments]: Use G-Expressions. <#:configure-flags>: Pass "-DOIIO_BUILD_TESTS=false". [inputs]: Replace openexr-2 with openexr, fmt-8 with fmt. Use package labels. Sort alphabetically. Change-Id: I7016f89c5b7c78cbc1ffeac23e5c0cefe2a8f43b --- gnu/packages/cpp.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d4123c7bf4..8d15b32f8e 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2020, 2021, 2023, 2024 Ricardo Wurmus ;;; Copyright © 2020 Brice Waegeneire -;;; Copyright © 2020, 2021, 2022 Vinicius Monego +;;; Copyright © 2020, 2021, 2022, 2024 Vinicius Monego ;;; Copyright © 2020, 2022 Marius Bakke ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Alexandros Theodotou -- cgit v1.2.3 From 9909866a689b303a4017041cd8aa65a241a46c9c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 27 Mar 2024 09:43:15 -0300 Subject: gnu: Add pystring. * gnu/packages/cpp.scm (pystring): New variable. Change-Id: Ifff1ae3d3ed8ec880a2dd098d6d81de28d7bdda6 --- gnu/packages/cpp.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8d15b32f8e..b4a0abb525 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -477,6 +477,44 @@ the name of the library itself, which is written in C++.") (license (list license:expat ; cJSON license:bsd-4))))) ; everything else (LICENSE.txt) +(define-public pystring + (package + (name "pystring") + (version "1.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/imageworks/pystring") + (commit (string-append "v" version)))) + (sha256 + (base32 "0h12x24skrlx4fv0k5vl8wnar8gi6bq091yp93awkwsbnm8qwkzd")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; The install phase doesn't install the header + (add-after 'install 'install-header + (lambda _ + (mkdir-p (string-append #$output "/include")) + (copy-file + (string-append #$(package-source this-package) + "/pystring.h") + (string-append #$output + "/include/pystring.h"))))))) + (native-inputs (list pkg-config)) + (home-page "https://github.com/imageworks/pystring") + (synopsis "C++ functions matching the Python string methods") + (description + "Pystring is a collection of C++ functions which match the interface and +behavior of Python's string class methods using std::string. Implemented in +C++, it does not require or make use of a python interpreter. It provides +convenience and familiarity for common string operations not included in the +standard C++ library. It's also useful in environments where both C++ and +Python are used.") + (license license:bsd-3))) + (define-public dashel (package (name "dashel") -- cgit v1.2.3