guix-commits
[Top][All Lists]
Advanced

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

29/40: gnu: Add rust-enumflags2-0.6.


From: guix-commits
Subject: 29/40: gnu: Add rust-enumflags2-0.6.
Date: Sun, 22 Oct 2023 09:40:35 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 608df1c98bcb60d337ad0079a9f7dcf46c228713
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:54 2023 +0300

    gnu: Add rust-enumflags2-0.6.
    
    * gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bec7a1e0e1..c7b5376064 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23583,6 +23583,25 @@ convert enum to u8 slice ref.")
     (description "This package provides enum-based bit flags.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-enumflags2-0.6
+  (package
+    (inherit rust-enumflags2-0.7)
+    (name "rust-enumflags2")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "enumflags2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))))
+
 (define-public rust-enumflags2-derive-0.7
   (package
     (name "rust-enumflags2-derive")



reply via email to

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