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

* gnu/packages/crates-io.scm (rust-des-0.8, rust-des-0.7, rust-des-0.6):
Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I18b2044dd95e2da04606377e6cd0e9961b5a512f
This commit is contained in:
Efraim Flashner 2024-01-21 19:45:30 +02:00
parent 639ea48731
commit 1f68b67aa1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 63 additions and 64 deletions

View file

@ -1777,6 +1777,69 @@ (define-public rust-curve25519-dalek-ng-4
ristretto255 and Curve25519.")
(license license:bsd-3)))
(define-public rust-des-0.8
(package
(name "rust-des")
(version "0.8.1")
(source (origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"07kshslxanmg0g6007scvglfhg6mli2a8qzhx4kxx4z9ik781pgz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cipher" ,rust-cipher-0.4))
#:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4))))
(home-page "https://github.com/RustCrypto/block-ciphers")
(synopsis "DES and Triple DES block ciphers implementation")
(description "This package provides DES and Triple DES (3DES, TDES) block
ciphers implementations.")
(license (list license:expat license:asl2.0))))
(define-public rust-des-0.7
(package
(inherit rust-des-0.8)
(name "rust-des")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0pbsfkkwfqnd4nsv3ik4z09h248f57y7bj2j1l134i2mzd4xshdc"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-cipher" ,rust-cipher-0.3)
("rust-opaque-debug" ,rust-opaque-debug-0.3))))))
(define-public rust-des-0.6
(package
(inherit rust-des-0.7)
(name "rust-des")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj"))))
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-cipher" ,rust-cipher-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.2))))))
(define-public rust-digest-0.10
(package
(name "rust-digest")

View file

@ -18951,70 +18951,6 @@ (define-public rust-derive-where-1
(description "Deriving with custom trait bounds.")
(license (list license:expat license:asl2.0))))
(define-public rust-des-0.8
(package
(name "rust-des")
(version "0.8.1")
(source (origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"07kshslxanmg0g6007scvglfhg6mli2a8qzhx4kxx4z9ik781pgz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cipher" ,rust-cipher-0.4))
#:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4))))
(home-page "https://github.com/RustCrypto/block-ciphers")
(synopsis "DES and Triple DES block ciphers implementation")
(description "This package provides DES and Triple DES (3DES, TDES) block
ciphers implementations.")
(license (list license:expat license:asl2.0))))
(define-public rust-des-0.7
(package
(inherit rust-des-0.8)
(name "rust-des")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0pbsfkkwfqnd4nsv3ik4z09h248f57y7bj2j1l134i2mzd4xshdc"))))
(arguments
`(#:skip-build?
#t
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-cipher" ,rust-cipher-0.3)
("rust-opaque-debug" ,rust-opaque-debug-0.3))))))
(define-public rust-des-0.6
(package
(inherit rust-des-0.7)
(name "rust-des")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "des" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj"))))
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-cipher" ,rust-cipher-0.2)
("rust-opaque-debug" ,rust-opaque-debug-0.3))
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.2))))))
(define-public rust-deunicode-0.4
(package
(name "rust-deunicode")