diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-22 11:04:42 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:01 +0300 |
commit | 3d36f34939badccab0dd3e8de037878ad850773a (patch) | |
tree | 0ed0737e658a3489dd8c06dd4e891aedaa861775 /gnu/packages/crates-io.scm | |
parent | 4de47b168d4641e433bfad0cf05b654e74c89739 (diff) | |
download | guix-3d36f34939badccab0dd3e8de037878ad850773a.tar.gz |
gnu: Add rust-ipconfig-3.
* gnu/packages/crates-io.scm (rust-ipconfig-3): New variable. (rust-ipconfig-2): Inherit from rust-ipconfig-3.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cbd6492903..301f3a49a2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29074,8 +29074,34 @@ library.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ipconfig-0.3 + (package + (name "rust-ipconfig") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipconfig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gn5j5sp58mz0630dhs1b8by7j0jqagldbd5iyln690gp7qjlc5x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-socket2" ,rust-socket2-0.4) + ("rust-widestring" ,rust-widestring-0.5) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winreg" ,rust-winreg-0.10)))) + (home-page "https://github.com/liranringel/ipconfig") + (synopsis "Get network adapters and configuration information for Windows") + (description "This package lets you get network adapters information and +network configuration for Windows.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ipconfig-0.2 (package + (inherit rust-ipconfig-0.3) (name "rust-ipconfig") (version "0.2.2") (source @@ -29086,18 +29112,12 @@ library.") (sha256 (base32 "1mzsagc6bk3i3fpggqlq8am5rxn4hgs297rsaya90w79xj5g3qpp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-socket2" ,rust-socket2-0.3) ("rust-widestring" ,rust-widestring-0.4) ("rust-winapi" ,rust-winapi-0.3) - ("rust-winreg" ,rust-winreg-0.6)))) - (home-page "https://github.com/liranringel/ipconfig") - (synopsis "Get network adapters and configuration information for Windows") - (description "This package lets you get network adapters information and -network configuration for Windows.") - (license (list license:expat license:asl2.0)))) + ("rust-winreg" ,rust-winreg-0.6)))))) (define-public rust-is-macro-0.1 (package |