mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: Add rust-ctor-0.2.
* gnu/packages/crates-io.scm (rust-ctor-0.2): New variable. (rust-ctor-0.1): Inherit from rust-ctor-0.2.
This commit is contained in:
parent
43c8c31e47
commit
bd74ce6fb3
1 changed files with 26 additions and 7 deletions
|
@ -16226,8 +16226,33 @@ (define-public rust-ct-logs-0.3
|
|||
`(#:cargo-inputs
|
||||
(("rust-sct" ,rust-sct-0.3))))))
|
||||
|
||||
(define-public rust-ctor-0.2
|
||||
(package
|
||||
(name "rust-ctor")
|
||||
(version "0.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ctor" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"06rhrw85py0gkk7g99qk124mk6d5isq95nn3abc84fyf7zv5ch6x"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-libc-print" ,rust-libc-print-0.1))))
|
||||
(home-page "https://github.com/mmastrac/rust-ctor")
|
||||
(synopsis "__attribute__((constructor)) for Rust")
|
||||
(description
|
||||
"This package provides an @code{__attribute__((constructor))} for Rust.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-ctor-0.1
|
||||
(package
|
||||
(inherit rust-ctor-0.2)
|
||||
(name "rust-ctor")
|
||||
(version "0.1.26")
|
||||
(source
|
||||
|
@ -16237,18 +16262,12 @@ (define-public rust-ctor-0.1
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "15m0wqhv12p25xkxz5dxvg23r7a6bkh7p8zi1cdhgswjhdl028vd"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #:cargo-inputs
|
||||
`(("rust-syn" ,rust-syn-1)
|
||||
("rust-quote" ,rust-quote-1))
|
||||
#:cargo-development-inputs
|
||||
`(("rust-libc-print" ,rust-libc-print-0.1))))
|
||||
(home-page "https://github.com/mmastrac/rust-ctor")
|
||||
(synopsis "__attribute__((constructor)) for Rust")
|
||||
(description
|
||||
"This package provides an @code{__attribute__((constructor))} for Rust.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
`(("rust-libc-print" ,rust-libc-print-0.1))))))
|
||||
|
||||
(define-public rust-ctr-0.9
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue