me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-system-configuration-0.5.

* gnu/packages/crates-io.scm (rust-system-configuration-0.5): New
variable.

Change-Id: I2e600cd742e24d94fbc4ab8d6cf07af8e1823c58
master
Efraim Flashner 2023-12-21 09:28:29 +02:00
parent a13fdb601f
commit 68930d5887
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 24 additions and 0 deletions

View File

@ -77331,6 +77331,30 @@ 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")