mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 04:40:06 -05:00
gnu: Add rust-der-derive-0.7.
* gnu/packages/crates-io.scm (rust-der-derive-0.7): New variable. (rust-der-derive-0.4): Inherit from rust-der-derive-0.7.
This commit is contained in:
parent
bd74ce6fb3
commit
4ee8822290
1 changed files with 28 additions and 9 deletions
|
@ -17794,8 +17794,35 @@ (define-public rust-der-0.4
|
||||||
targets")
|
targets")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-der-derive-0.7
|
||||||
|
(package
|
||||||
|
(name "rust-der-derive")
|
||||||
|
(version "0.7.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "der-derive" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-proc-macro-error" ,rust-proc-macro-error-1)
|
||||||
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-2))))
|
||||||
|
(home-page "https://github.com/RustCrypto/formats/tree/master/der/derive")
|
||||||
|
(synopsis
|
||||||
|
"Custom derive support for the `der` crate's `Choice` and `Sequence` traits")
|
||||||
|
(description
|
||||||
|
"This package provides a custom derive support for the `der` crate's
|
||||||
|
`Choice` and `Sequence` traits.")
|
||||||
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
(define-public rust-der-derive-0.4
|
(define-public rust-der-derive-0.4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-der-derive-0.7)
|
||||||
(name "rust-der-derive")
|
(name "rust-der-derive")
|
||||||
(version "0.4.1")
|
(version "0.4.1")
|
||||||
(source
|
(source
|
||||||
|
@ -17805,7 +17832,6 @@ (define-public rust-der-derive-0.4
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
|
(base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build?
|
`(#:skip-build?
|
||||||
#t ; FIXME
|
#t ; FIXME
|
||||||
|
@ -17813,14 +17839,7 @@ (define-public rust-der-derive-0.4
|
||||||
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-1)
|
("rust-syn" ,rust-syn-1)
|
||||||
("rust-synstructure" ,rust-synstructure-0.12))))
|
("rust-synstructure" ,rust-synstructure-0.12))))))
|
||||||
(home-page "https://github.com/RustCrypto/formats/tree/master/der/derive")
|
|
||||||
(synopsis
|
|
||||||
"Custom derive support for the `der` crate's `Choice` and `Sequence` traits")
|
|
||||||
(description
|
|
||||||
"This package provides a custom derive support for the `der` crate's
|
|
||||||
`Choice` and `Sequence` traits.")
|
|
||||||
(license (list license:asl2.0 license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-der-oid-macro-0.5
|
(define-public rust-der-oid-macro-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue