gnu: Add rust-winutil.

* gnu/packages/crates-io.scm (rust-winutil): New variable.
This commit is contained in:
Efraim Flashner 2019-08-29 12:45:43 +03:00
parent c781448080
commit d48ce6f098
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 0 deletions

View File

@ -2325,6 +2325,33 @@ color in a Windows console.")
(license (list license:unlicense (license (list license:unlicense
license:expat)))) license:expat))))
(define-public rust-winutil
(package
(name "rust-winutil")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "winutil" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi))
;; This unmaintained crate cannot find winapi when built directly.
#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'build))))
(home-page "https://bitbucket.org/DaveLancaster/winutil")
(synopsis "Library wrapping a handful of useful winapi functions")
(description
"A simple library wrapping a handful of useful winapi functions.")
(license license:expat)))
(define-public rust-xdg (define-public rust-xdg
(package (package
(name "rust-xdg") (name "rust-xdg")