guix-commits
[Top][All Lists]
Advanced

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

12/68: gnu: Add rust-fiat-crypto-0.2.


From: guix-commits
Subject: 12/68: gnu: Add rust-fiat-crypto-0.2.
Date: Wed, 20 Mar 2024 11:24:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit ff91ffdac733bda0044208f6825ba1d4b763513d
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:47 2024 +0100

    gnu: Add rust-fiat-crypto-0.2.
    
    * gnu/packages/crates-crypto.scm (rust-fiat-crypto-0.2): Add variable.
    (rust-fiat-crypto-0.1): Inherit from rust-fiat-crypto-0.2.
    
    Change-Id: I02442b6b5f95125a2e67b1012d2f9b913ef10923
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-crypto.scm | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index bcc8b34848..7d35a755d0 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -2353,23 +2353,37 @@ curve forms, scalars, points, and public/secret keys 
composed thereof.")
                                    ("rust-sha2" ,rust-sha2-0.10)
                                    ("rust-sha3" ,rust-sha3-0.10))))))
 
-(define-public rust-fiat-crypto-0.1
+(define-public rust-fiat-crypto-0.2
   (package
     (name "rust-fiat-crypto")
-    (version "0.1.11")
+    (version "0.2.6")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "fiat-crypto" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))
+        (base32 "10hkkkjynhibvchznkxx81gwxqarn9i5sgz40d6xxb8xzhsz8xhn"))))
     (build-system cargo-build-system)
     (home-page "https://github.com/mit-plv/fiat-crypto";)
     (synopsis "Fiat-crypto generated Rust")
     (description "This crate provides the extracted Rust code from the Coq
 @code{fiat-crypto} libraries.")
-    (license (list license:expat license:asl2.0))))
+    (license (list license:expat license:asl2.0 license:bsd-1))))
+
+(define-public rust-fiat-crypto-0.1
+  (package
+    (inherit rust-fiat-crypto-0.2)
+    (name "rust-fiat-crypto")
+    (version "0.1.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fiat-crypto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1"))))))
 
 (define-public rust-ghash-0.5
   (package



reply via email to

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