summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:09:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:59 +0200
commitfe576da503a424e8ca28b17127cb7a2680c6582e (patch)
treedae04d17d958e5497ecd6260a2060643aae56612
parent39c87baf8722005d53336ca87b147d100a911698 (diff)
gnu: rust-ipconfig: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-ipconfig-0.3, rust-ipconfig-0.2): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: Ic4e968f6a7bc22cf92646e75f451de03e76112ed
-rw-r--r--gnu/packages/crates-io.scm46
-rw-r--r--gnu/packages/crates-web.scm1
-rw-r--r--gnu/packages/crates-windows.scm48
3 files changed, 49 insertions, 46 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 237fd23875..7ed3a6f05c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33420,52 +33420,6 @@ 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
- (origin
- (method url-fetch)
- (uri (crate-uri "ipconfig" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1mzsagc6bk3i3fpggqlq8am5rxn4hgs297rsaya90w79xj5g3qpp"))))
- (arguments
- `(#:tests? #f ; failed to resolve: could not find `computer` in `ipconfig`
- #: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))))))
-
(define-public rust-is-ci-1
(package
(name "rust-is-ci")
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index a1c0de634f..e25abcb085 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -33,6 +33,7 @@
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-gtk)
#:use-module (gnu packages crates-tls)
+ #:use-module (gnu packages crates-windows)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages tls)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 923070c9af..576bfbe807 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
+;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
@@ -261,6 +262,53 @@ inclusion of Windows resources in the most resilient fashion imaginable.")
API library @code{gdi32}.")
(license 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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ipconfig" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mzsagc6bk3i3fpggqlq8am5rxn4hgs297rsaya90w79xj5g3qpp"))))
+ (arguments
+ `(#:tests? #f ; failed to resolve: could not find `computer` in `ipconfig`
+ #: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))))))
+
+
(define-public rust-windows-0.48
(package
(name "rust-windows")