mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-windows-interface-0.52.
* gnu/packages/crates-windows.scm (rust-windows-interface-0.52): New variable. (rust-windows-interface-0.48): Inherit from rust-windows-interface-0.52. Change-Id: I3f989c2e4e600f9098bac9dabec495e287ec687f
This commit is contained in:
parent
6be314fad5
commit
6c9a445fae
1 changed files with 24 additions and 7 deletions
|
@ -1935,8 +1935,31 @@ (define-public rust-windows-implement-0.32
|
|||
(("rust-syn" ,rust-syn-1)
|
||||
("rust-windows-tokens" ,rust-windows-tokens-0.32))))))
|
||||
|
||||
(define-public rust-windows-interface-0.52
|
||||
(package
|
||||
(name "rust-windows-interface")
|
||||
(version "0.52.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "windows-interface" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-2))))
|
||||
(home-page "https://github.com/microsoft/windows-rs")
|
||||
(synopsis "The interface macro for the windows crate")
|
||||
(description "This package provides the interface macro for the windows
|
||||
crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-windows-interface-0.48
|
||||
(package
|
||||
(inherit rust-windows-interface-0.52)
|
||||
(name "rust-windows-interface")
|
||||
(version "0.48.0")
|
||||
(source
|
||||
|
@ -1946,17 +1969,11 @@ (define-public rust-windows-interface-0.48
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://github.com/microsoft/windows-rs")
|
||||
(synopsis "The interface macro for the windows crate")
|
||||
(description "This package provides the interface macro for the windows
|
||||
crate.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-windows-interface-0.46
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue