gnu: rust-serdect: Move to (gnu packages crates-crypto).

* gnu/packages/crates-io.scm (rust-serdect-0.2, rust-serdect-0.1): Move
from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I10d001bf1dadb6d1ceabec8f6cf764514bb49ea7
This commit is contained in:
Efraim Flashner 2024-01-21 17:19:52 +02:00
parent d15a19d1a9
commit 298f75b7ab
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 58 additions and 65 deletions

View file

@ -3822,6 +3822,64 @@ (define-public rust-sec1-0.3
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-serdect-0.2
(package
(name "rust-serdect")
(version "0.2.0")
(source (origin
(method url-fetch)
(uri (crate-uri "serdect" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0xw1b6acw6nd0jchzyxzr97f0s4shbcqh92iyjwln0cskshi8kx8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base16ct" ,rust-base16ct-0.2)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-ciborium" ,rust-ciborium-0.2)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-proptest" ,rust-proptest-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json-core" ,rust-serde-json-core-0.5)
("rust-serde-json" ,rust-serde-json-1)
("rust-toml" ,rust-toml-0.7))))
(home-page "https://github.com/RustCrypto/formats/tree/master/serdect")
(synopsis "Constant-time serde serializer/deserializer helpers")
(description
"This package provides constant-time serde serializer/deserializer helpers
for data that potentially contains secrets (e.g. cryptographic keys).")
(license (list license:asl2.0 license:expat))))
(define-public rust-serdect-0.1
(package
(inherit rust-serdect-0.2)
(name "rust-serdect")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serdect" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b6krqs77vzwzdjcrcywlmlwd3msfpgmkkbxx8q9njypyhdwx3q3"))))
(arguments
`(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
("rust-ciborium" ,rust-ciborium-0.2)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-proptest" ,rust-proptest-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json-core" ,rust-serde-json-core-0.4)
("rust-serde-json" ,rust-serde-json-1)
("rust-toml" ,rust-toml-0.5))))))
(define-public rust-sha-1-0.10
(package
(name "rust-sha-1")

View file

@ -62346,71 +62346,6 @@ (define-public rust-serde-wasm-bindgen-0.3
(description "Native Serde adapter for wasm-bindgen.")
(license license:expat)))
(define-public rust-serdect-0.2
(package
(name "rust-serdect")
(version "0.2.0")
(source (origin
(method url-fetch)
(uri (crate-uri "serdect" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0xw1b6acw6nd0jchzyxzr97f0s4shbcqh92iyjwln0cskshi8kx8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base16ct" ,rust-base16ct-0.2)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-ciborium" ,rust-ciborium-0.2)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-proptest" ,rust-proptest-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json-core" ,rust-serde-json-core-0.5)
("rust-serde-json" ,rust-serde-json-1)
("rust-toml" ,rust-toml-0.7))))
(home-page "https://github.com/RustCrypto/formats/tree/master/serdect")
(synopsis
"Constant-time serde serializer/deserializer helpers")
(description
"This package provides constant-time serde serializer/deserializer helpers
for data that potentially contains secrets (e.g. cryptographic keys).")
(license (list license:asl2.0 license:expat))))
(define-public rust-serdect-0.1
(package
(name "rust-serdect")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serdect" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0b6krqs77vzwzdjcrcywlmlwd3msfpgmkkbxx8q9njypyhdwx3q3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1)
("rust-serde" ,rust-serde-1)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
("rust-ciborium" ,rust-ciborium-0.2)
("rust-hex-literal" ,rust-hex-literal-0.3)
("rust-proptest" ,rust-proptest-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json-core" ,rust-serde-json-core-0.4)
("rust-serde-json" ,rust-serde-json-1)
("rust-toml" ,rust-toml-0.5))))
(home-page "https://github.com/RustCrypto/formats/tree/master/serdect")
(synopsis "Constant-time serde serializer/deserializer helpers")
(description
"Constant-time serde serializer/deserializer helpers for data that potentially
contains secrets (e.g. cryptographic keys).")
(license (list license:asl2.0 license:expat))))
(define-public rust-serial-test-2
(package
(name "rust-serial-test")