mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 04:14: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
|
`(#:cargo-inputs
|
||||||
(("rust-sct" ,rust-sct-0.3))))))
|
(("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
|
(define-public rust-ctor-0.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-ctor-0.2)
|
||||||
(name "rust-ctor")
|
(name "rust-ctor")
|
||||||
(version "0.1.26")
|
(version "0.1.26")
|
||||||
(source
|
(source
|
||||||
|
@ -16237,18 +16262,12 @@ (define-public rust-ctor-0.1
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "15m0wqhv12p25xkxz5dxvg23r7a6bkh7p8zi1cdhgswjhdl028vd"))))
|
(base32 "15m0wqhv12p25xkxz5dxvg23r7a6bkh7p8zi1cdhgswjhdl028vd"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:cargo-inputs
|
(list #:cargo-inputs
|
||||||
`(("rust-syn" ,rust-syn-1)
|
`(("rust-syn" ,rust-syn-1)
|
||||||
("rust-quote" ,rust-quote-1))
|
("rust-quote" ,rust-quote-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
`(("rust-libc-print" ,rust-libc-print-0.1))))
|
`(("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-ctr-0.9
|
(define-public rust-ctr-0.9
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue