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 @@ they can possibly access, and doesn't break any paths for UNC-aware
|
||||||
programs.")
|
programs.")
|
||||||
(license (list license:cc0 license:expat-0 license:asl2.0))))
|
(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
|
(define-public rust-embed-resource-1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-embed-resource-2)
|
||||||
(name "rust-embed-resource")
|
(name "rust-embed-resource")
|
||||||
(version "1.8.0")
|
(version "1.8.0")
|
||||||
(source
|
(source
|
||||||
|
@ -241,21 +268,13 @@ programs.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6"))))
|
(base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-cc" ,rust-cc-1)
|
(("rust-cc" ,rust-cc-1)
|
||||||
("rust-rustc-version" ,rust-rustc-version-0.4)
|
("rust-rustc-version" ,rust-rustc-version-0.4)
|
||||||
("rust-toml" ,rust-toml-0.5)
|
("rust-toml" ,rust-toml-0.5)
|
||||||
("rust-vswhom" ,rust-vswhom-0.1)
|
("rust-vswhom" ,rust-vswhom-0.1)
|
||||||
("rust-winreg" ,rust-winreg-0.10))))
|
("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)))
|
|
||||||
|
|
||||||
(define-public rust-gdi32-sys-0.2
|
(define-public rust-gdi32-sys-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue