summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-09 10:47:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:23 +0300
commitc3530fd66195091201cd41b4a917de1bc6145c63 (patch)
treed5d3d9d78a617c1d6bd4d0e6e7b78d3079d8109d /gnu
parent05de88413b9a6765ca3bdb4b301eec08f2b30619 (diff)
downloadguix-c3530fd66195091201cd41b4a917de1bc6145c63.tar.gz
gnu: Add rust-nitrokey-test-0.3.
* gnu/packages/crates-io.scm (rust-nitrokey-test-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ac47a8531..ffc49abc96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42695,6 +42695,27 @@ communication with Nitrokey devices.")
 nitrokey crate and others using it.")
     (license license:gpl3+)))
 
+(define-public rust-nitrokey-test-0.3
+  (package
+    (inherit rust-nitrokey-test-0.5)
+    (name "rust-nitrokey-test")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nitrokey-test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dzy0lfz2zwn7f1d126avig6risj78a4bvf3zdwjyldaxln0rnpk"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-nitrokey" ,rust-nitrokey-0.9)
+        ("rust-nitrokey-test-state" ,rust-nitrokey-test-state-0.1))))))
+
 (define-public rust-nitrokey-test-state-0.1
   (package
     (name "rust-nitrokey-test-state")