diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:28:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:31 +0200 |
commit | 68930d5887fdbe8a6f225e3e6ad6e870a44c1f4d (patch) | |
tree | ffe10a440134512c472fa7351779242c2c9fb0be | |
parent | a13fdb601f5171dd78cbbbc3bff09962bf6a6901 (diff) |
gnu: Add rust-system-configuration-0.5.
* gnu/packages/crates-io.scm (rust-system-configuration-0.5): New
variable.
Change-Id: I2e600cd742e24d94fbc4ab8d6cf07af8e1823c58
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b6d75d04c4..0faee3ee04 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |