summary refs log tree commit diff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-10-18 00:52:38 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-12-02 21:53:42 +0100
commitfc6bb13018a57bcaabca592d1a0172d8c477a3e7 (patch)
treeac8e09aeec800bdcc2006f9e75502525095c47bc
parent2545fc43696d81fcada024e8f4638a910b928ff0 (diff)
downloadguix-fc6bb13018a57bcaabca592d1a0172d8c477a3e7.tar.gz
gnu: Add rust-memsec-0.6.
* gnu/packages/crates-io.scm (rust-memsec-0.6): New variable, skipping
  build.  (rust-memsec-0.5): Inherit from rust-memsec-0.6.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e9697bf1c1..fd54bafcc2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15039,20 +15039,21 @@ for Rust structs.")
          "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g"))))
     (arguments `(#:skip-build? #t))))
 
-(define-public rust-memsec-0.5
+(define-public rust-memsec-0.6
   (package
     (name "rust-memsec")
-    (version "0.5.7")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "memsec" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))))
+        (base32 "1pfbpl75586bjdkphnaa4j58d668rl1wgcqzpnpzzx1phxfzkx1a"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-getrandom" ,rust-getrandom-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-mach-o-sys" ,rust-mach-o-sys-0.1)
@@ -15063,6 +15064,19 @@ for Rust structs.")
 @code{libsodium/utils}.")
     (license license:expat)))
 
+(define-public rust-memsec-0.5
+  (package
+    (inherit rust-memsec-0.6)
+    (name "rust-memsec")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "memsec" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c"))))))
+
 (define-public rust-metadeps-1.1
   (package
     (name "rust-metadeps")