summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 20:46:16 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:25 +0200
commit84d49b4dff7dd588aa4849c12684371685ba64cc (patch)
tree2608ba36c65bd908714cd311289257fbdc3e9666 /gnu
parentcf0af0603193d9454119792620f63a930b54d190 (diff)
downloadguix-84d49b4dff7dd588aa4849c12684371685ba64cc.tar.gz
gnu: rust-system-configuration: Move to (gnu packages crates-apple).
* gnu/packages/crates-io.scm (rust-system-configuration-0.5,
rust-system-configuration-sys-0.5): Move from here ...
* gnu/packages/crates-apple.scm: ... to here.

Change-Id: Ia3794ce3ef56520dac26b44acfc91da7f7e3031f
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-apple.scm45
-rw-r--r--gnu/packages/crates-io.scm45
2 files changed, 45 insertions, 45 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 03de10a853..5e8e67484c 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -914,3 +914,48 @@ macOS and iOS.")
        #:cargo-inputs
        (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
         ("rust-libc" ,rust-libc-0.2))))))
+
+(define-public rust-system-configuration-0.5
+  (package
+    (name "rust-system-configuration")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "system-configuration" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rz0r30xn7fiyqay2dvzfy56cvaa3km74hnbz2d72p97bkf3lfms"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ; struct `sockaddr_in` has no field named `sin_len`
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-core-foundation" ,rust-core-foundation-0.9)
+        ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.5))))
+    (home-page "https://github.com/mullvad/system-configuration-rs")
+    (synopsis "Bindings to SystemConfiguration framework for macOS")
+    (description
+     "Bindings to @code{SystemConfiguration} framework for @code{macOS}.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-system-configuration-sys-0.5
+  (package
+    (name "rust-system-configuration-sys")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "system-configuration-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jckxvdr37bay3i9v52izgy52dg690x5xfg3hd394sv2xf4b2px7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/mullvad/system-configuration-rs")
+    (synopsis "Low level bindings to SystemConfiguration framework for macOS")
+    (description
+     "Low level bindings to @code{SystemConfiguration} framework for @code{macOS}.")
+    (license (list license:expat license:asl2.0))))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f0cecfc039..c1c5f22025 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72176,51 +72176,6 @@ processors, disks, components and networks.")
         ("rust-log" ,rust-log-0.3)
         ("rust-unix-socket" ,rust-unix-socket-0.5))))))
 
-(define-public rust-system-configuration-0.5
-  (package
-    (name "rust-system-configuration")
-    (version "0.5.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "system-configuration" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1rz0r30xn7fiyqay2dvzfy56cvaa3km74hnbz2d72p97bkf3lfms"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t ; struct `sockaddr_in` has no field named `sin_len`
-       #:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-1)
-        ("rust-core-foundation" ,rust-core-foundation-0.9)
-        ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.5))))
-    (home-page "https://github.com/mullvad/system-configuration-rs")
-    (synopsis "Bindings to SystemConfiguration framework for macOS")
-    (description
-     "Bindings to @code{SystemConfiguration} framework for @code{macOS}.")
-    (license (list license:expat license:asl2.0))))
-
-(define-public rust-system-configuration-sys-0.5
-  (package
-    (name "rust-system-configuration-sys")
-    (version "0.5.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "system-configuration-sys" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1jckxvdr37bay3i9v52izgy52dg690x5xfg3hd394sv2xf4b2px7"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
-                       ("rust-libc" ,rust-libc-0.2))))
-    (home-page "https://github.com/mullvad/system-configuration-rs")
-    (synopsis "Low level bindings to SystemConfiguration framework for macOS")
-    (description
-     "Low level bindings to @code{SystemConfiguration} framework for @code{macOS}.")
-    (license (list license:expat license:asl2.0))))
-
 (define-public rust-system-deps-6
   (package
     (name "rust-system-deps")