aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 12:45:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:23 +0300
commitd48ce6f098f39faa4bc0390bf2d231acf3abe80c (patch)
tree911b74b5cb78c810671d8062b652b98ab198c993 /gnu/packages
parentc7814480807fd4984ad8d9ebc09deac7fecfbf7b (diff)
downloadguix-d48ce6f098f39faa4bc0390bf2d231acf3abe80c.tar.gz
guix-d48ce6f098f39faa4bc0390bf2d231acf3abe80c.zip
gnu: Add rust-winutil.
* gnu/packages/crates-io.scm (rust-winutil): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 28e7f4cb07..60cc63009c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2325,6 +2325,33 @@ color in a Windows console.")
(license (list license:unlicense
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
(package
(name "rust-xdg")