guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48217] [PATCH 4/9] gnu: Add cm256cc.


From: Guillaume Le Vaillant
Subject: [bug#48217] [PATCH 4/9] gnu: Add cm256cc.
Date: Tue, 4 May 2021 08:57:00 +0000

* gnu/packages/radio.scm (cm256cc): New variable.
---
 gnu/packages/radio.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 02a1822072..b4c38ba255 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -1637,3 +1637,32 @@ program that can be used to build simple signal 
processing flow graphs.")
      "SerialDV is a minimal interface to encode and decode audio with AMBE3000
 based devices in packet mode over a serial link.")
     (license license:gpl3+)))
+
+(define-public cm256cc
+  (package
+    (name "cm256cc")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/f4exb/cm256cc";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1n9v7g6d370263bgqrjv38s9aq5953rzy7jvd8i30xq6aram9djg"))))
+    (build-system cmake-build-system)
+    (arguments
+     ;; Disable some SIMD features for reproducibility.
+     `(#:configure-flags '("-DENABLE_DISTRIBUTION=1")
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "./cm256_test"))))))
+    (home-page "https://github.com/f4exb/cm256cc";)
+    (synopsis "Cauchy MDS Block Erasure Codec")
+    (description
+     "This is a C++ library implementing fast GF(256) Cauchy MDS Block Erasure
+Codec.")
+    (license license:gpl3+)))
-- 
2.31.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]