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.
This commit is contained in:
Efraim Flashner 2023-08-02 19:51:47 +03:00
parent 85f76a37fa
commit d955d7ca33
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -41323,8 +41323,28 @@ (define-public rust-notmuch-0.6
"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 @@ (define-public rust-ntapi-0.3
(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