diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-02 19:51:47 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:18 +0300 |
commit | d955d7ca33164706f527dd49b369ad949c06e0c9 (patch) | |
tree | af1faf2882ed9086ab398fe11436b8d59bc5ea25 /gnu/packages | |
parent | 85f76a37fac15f9d06243646abe1296e6ef32fd3 (diff) | |
download | guix-d955d7ca33164706f527dd49b369ad949c06e0c9.tar guix-d955d7ca33164706f527dd49b369ad949c06e0c9.tar.gz |
gnu: Add rust-ntapi-0.4.
* gnu/packages/crates-io.scm (rust-ntapi-0.4): New variable.
(rust-ntapi-0.3): Inherit from rust-ntapi-0.4.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f5c0970b25..741f97d913 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41323,8 +41323,28 @@ notification library.") "This crate provides a Rust interface and bindings for Notmuch.") (license license:gpl3+))) +(define-public rust-ntapi-0.4 + (package + (name "rust-ntapi") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (crate-uri "ntapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r38zhbwdvkis2mzs6671cm1p6djgsl49i7bwxzrvhwicdf8k8z8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/MSxDOS/ntapi") + (synopsis "FFI bindings for Native API") + (description "FFI bindings for Native API") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ntapi-0.3 (package + (inherit rust-ntapi-0.4) (name "rust-ntapi") (version "0.3.6") (source @@ -41334,14 +41354,9 @@ notification library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0i5daj9sr8wyi5jkpwpybln2jqpn59z0mqfc0dpdidipwh1bjsrz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "") - (synopsis "FFI bindings for Native API") - (description "FFI bindings for Native API") - (license (list license:asl2.0 license:expat)))) + (("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-ntest-0.8 (package |