mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-05 19:11:43 -05:00
gnu: Add rust-ghost.
* gnu/packages/crates-io.scm (rust-ghost): New variable.
This commit is contained in:
parent
282d4e6bea
commit
01a3139a05
1 changed files with 27 additions and 0 deletions
|
@ -23927,6 +23927,33 @@ (define-public rust-ghash-0.2
|
||||||
(("rust-polyval" ,rust-polyval-0.3)
|
(("rust-polyval" ,rust-polyval-0.3)
|
||||||
("rust-zeroize" ,rust-zeroize-1))))))
|
("rust-zeroize" ,rust-zeroize-1))))))
|
||||||
|
|
||||||
|
(define-public rust-ghost-0.1
|
||||||
|
(package
|
||||||
|
(name "rust-ghost")
|
||||||
|
(version "0.1.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "ghost" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0yalg3g1g3cz63n3phy7cdhh7p2qd220mrpxy96alwxbpqdwynqs"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-1))))
|
||||||
|
(home-page "https://github.com/dtolnay/ghost")
|
||||||
|
(synopsis "Define your own PhantomData")
|
||||||
|
(description
|
||||||
|
"This package makes it possible to define your own PhantomData and
|
||||||
|
similarly behaved unit types with generic parameters, which is not
|
||||||
|
permitted in ordinary Rust.")
|
||||||
|
;; Either license can be chosen at the users option.
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-gif-0.11
|
(define-public rust-gif-0.11
|
||||||
(package
|
(package
|
||||||
(name "rust-gif")
|
(name "rust-gif")
|
||||||
|
|
Loading…
Reference in a new issue