summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-05-06 15:43:04 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-05-14 12:22:30 +0200
commit882f55ff738438f6ab8e079534dcb654034f94db (patch)
tree08571db873ba05b42d2446fe85b5e22cbd571e9d
parent8d6f66d621dba799213b42e7c4c7068f2b1c8a5e (diff)
downloadguix-882f55ff738438f6ab8e079534dcb654034f94db.tar.gz
gnu: Add zug.
* gnu/packages/cpp.scm (zug): New variable.
-rw-r--r--gnu/packages/cpp.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 1fced95023..5707ccdc51 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1431,6 +1431,31 @@ provides a number of utilities to make coding with expected cleaner.")
 written in C++.")
    (license license:boost1.0)))
 
+(define-public zug
+  (let ((commit "d7e814b45fceceee3cb1442997d8b46cee4764ec")
+        (revision "0"))
+    (package
+     (name "zug")
+     (version (git-version "0.0.0" revision commit))
+     (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/arximboldi/zug")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32 "1ww4prh763n81kzzijak8z495varlvqml4ip7i09klqnw6ya72fc"))
+              (modules '((guix build utils)))
+              (snippet #~(delete-file-recursively "tools"))))
+     (build-system cmake-build-system)
+     (arguments (list #:test-target "check"))
+     (native-inputs (list boost catch2))
+     (home-page "https://sinusoid.es/zug")
+     (synopsis "Higher-order sequence transformers")
+     (description "Zug is a C++ library providing transducers, that is,
+composable sequential transformations.")
+     (license license:boost1.0))))
+
 (define-public atomic-queue
   (package
     (name "atomic-queue")