summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-21 19:58:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:03 +0200
commit4a7fc86242c56ff39a65e8562c2b2c082b7d8d1b (patch)
tree4aec43985101baf676bd370c90562b4b2236b0b1 /gnu
parent4ac7c8e23b4927242a4d35627b1fd3eddc96ec6b (diff)
downloadguix-4a7fc86242c56ff39a65e8562c2b2c082b7d8d1b.tar.gz
gnu: rust-totp-lite: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-totp-lite-2, rust-totp-lite-1): Move
from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I2b99827d97c4f48f304b6bcc844d66b471798613
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-crypto.scm52
-rw-r--r--gnu/packages/crates-io.scm52
2 files changed, 52 insertions, 52 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index e872a78a1c..f0e65d738f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5647,6 +5647,58 @@ cryptographic implementations.")
      "This package provides the Tiger cryptographic hash function.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-totp-lite-2
+  (package
+    (name "rust-totp-lite")
+    (version "2.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "totp-lite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hvnpv7nl79jp96w6g2j7l6xskl5qlx3h0qqf9zry68pvcs33r7q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-digest" ,rust-digest-0.10)
+        ("rust-hmac" ,rust-hmac-0.12)
+        ("rust-sha1" ,rust-sha1-0.10)
+        ("rust-sha2" ,rust-sha2-0.10))
+       #:cargo-development-inputs
+       (("rust-koibumi-base32" ,rust-koibumi-base32-0.0.2)
+        ("rust-version-sync" ,rust-version-sync-0.9))))
+    (home-page "https://github.com/fosskers/totp-lite")
+    (synopsis "Simple, correct TOTP library")
+    (description "Rust-totp-lite provides a simple, correct time-based
+One-Time Password library.")
+    (license license:expat)))
+
+(define-public rust-totp-lite-1
+  (package
+    (name "rust-totp-lite")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "totp-lite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-digest" ,rust-digest-0.9)
+        ("rust-hmac" ,rust-hmac-0.11)
+        ("rust-sha-1" ,rust-sha-1-0.9)
+        ("rust-sha2" ,rust-sha2-0.9))))
+    (home-page "https://github.com/fosskers/totp-lite")
+    (synopsis "Simple, correct TOTP library")
+    (description "Rust-totp-lite provides a simple, correct time-based
+One-Time Password library.")
+    (license license:expat)))
+
 (define-public rust-twofish-0.7
   (package
     (name "rust-twofish")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26ea9d79ec..f98d865e78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73820,58 +73820,6 @@ performance, interoperability, and flexibility.")
 Rust.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-totp-lite-2
-  (package
-    (name "rust-totp-lite")
-    (version "2.0.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "totp-lite" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1hvnpv7nl79jp96w6g2j7l6xskl5qlx3h0qqf9zry68pvcs33r7q"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-digest" ,rust-digest-0.10)
-        ("rust-hmac" ,rust-hmac-0.12)
-        ("rust-sha1" ,rust-sha1-0.10)
-        ("rust-sha2" ,rust-sha2-0.10))
-       #:cargo-development-inputs
-       (("rust-koibumi-base32" ,rust-koibumi-base32-0.0.2)
-        ("rust-version-sync" ,rust-version-sync-0.9))))
-    (home-page "https://github.com/fosskers/totp-lite")
-    (synopsis "Simple, correct TOTP library")
-    (description "Rust-totp-lite provides a simple, correct time-based
-One-Time Password library.")
-    (license license:expat)))
-
-(define-public rust-totp-lite-1
-  (package
-    (name "rust-totp-lite")
-    (version "1.0.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "totp-lite" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-digest" ,rust-digest-0.9)
-        ("rust-hmac" ,rust-hmac-0.11)
-        ("rust-sha-1" ,rust-sha-1-0.9)
-        ("rust-sha2" ,rust-sha2-0.9))))
-    (home-page "https://github.com/fosskers/totp-lite")
-    (synopsis "Simple, correct TOTP library")
-    (description "Rust-totp-lite provides a simple, correct time-based
-One-Time Password library.")
-    (license license:expat)))
-
 (define-public rust-tower-0.4
   (package
     (name "rust-tower")