mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-embed-resource-2.
* gnu/packages/crates-windows.scm (rust-embed-resource-2): New variable. (rust-embed-resource-1): Inherit from rust-embed-resource-2. Change-Id: Iee1cbaeda0df558d4b19c00094b13405aabf7fb8
This commit is contained in:
parent
3eaae51dd0
commit
12a5eec12d
1 changed files with 28 additions and 9 deletions
|
@ -230,8 +230,35 @@ (define-public rust-dunce-1
|
|||
programs.")
|
||||
(license (list license:cc0 license:expat-0 license:asl2.0))))
|
||||
|
||||
(define-public rust-embed-resource-2
|
||||
(package
|
||||
(name "rust-embed-resource")
|
||||
(version "2.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "embed-resource" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1cicrqlblz5xf4ns7yk4aifpskbvvvg436ls4c93h77f4zlc6k7m"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
|
||||
("rust-rustc-version" ,rust-rustc-version-0.4)
|
||||
("rust-toml" ,rust-toml-0.8)
|
||||
("rust-vswhom" ,rust-vswhom-0.1)
|
||||
("rust-winreg" ,rust-winreg-0.51))))
|
||||
(home-page "https://github.com/nabijaczleweli/rust-embed-resource")
|
||||
(synopsis
|
||||
"Cargo library to handle compilation and inclusion of Windows resources")
|
||||
(description
|
||||
"This package provides a Cargo library to handle compilation and
|
||||
inclusion of Windows resources in the most resilient fashion imaginable.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-embed-resource-1
|
||||
(package
|
||||
(inherit rust-embed-resource-2)
|
||||
(name "rust-embed-resource")
|
||||
(version "1.8.0")
|
||||
(source
|
||||
|
@ -241,21 +268,13 @@ (define-public rust-embed-resource-1
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-cc" ,rust-cc-1)
|
||||
("rust-rustc-version" ,rust-rustc-version-0.4)
|
||||
("rust-toml" ,rust-toml-0.5)
|
||||
("rust-vswhom" ,rust-vswhom-0.1)
|
||||
("rust-winreg" ,rust-winreg-0.10))))
|
||||
(home-page "https://github.com/nabijaczleweli/rust-embed-resource")
|
||||
(synopsis
|
||||
"Cargo library to handle compilation and inclusion of Windows resources")
|
||||
(description
|
||||
"This package provides a Cargo library to handle compilation and
|
||||
inclusion of Windows resources in the most resilient fashion imaginable.")
|
||||
(license license:expat)))
|
||||
("rust-winreg" ,rust-winreg-0.10))))))
|
||||
|
||||
(define-public rust-gdi32-sys-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue