guix-patches
[Top][All Lists]
Advanced

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

[bug#44492] [PATCH v7 34/51] gnu: Add rust-mdl-1.


From: Leo Prikler
Subject: [bug#44492] [PATCH v7 34/51] gnu: Add rust-mdl-1.
Date: Mon, 15 Mar 2021 18:58:21 +0100

* gnu/packages/crates-io.scm (rust-mdl-1): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2363a08aeb..ce70671131 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23077,6 +23077,34 @@ compression function.")
     (supported-systems '("x86_64-linux" "i686-linux"))
     (license license:expat)))
 
+(define-public rust-mdl-1
+  (package
+    (name "rust-mdl")
+    (version "1.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "mdl" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1mavphw0ynhggm310rbldzifcrc507jax1nzwrmj4cz1xv7vw24l"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-anyhow" ,rust-anyhow-1)
+         ("rust-bincode" ,rust-bincode-1)
+         ("rust-lmdb" ,rust-lmdb-0.8)
+         ("rust-serde" ,rust-serde-1))))
+    (home-page "https://gitlab.gnome.org/danigm/mdl";)
+    (synopsis "Data model library")
+    (description "This package provides a data model library to share app state
+between threads and process and persist the data in the filesystem.  It
+implements a way to store structs instances in an LMDB database and other
+methods like BTreeMap.")
+    (license license:gpl3)))
+
 (define-public rust-measureme-0.7
   (package
     (name "rust-measureme")
-- 
2.30.2






reply via email to

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