diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-13 19:14:21 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:22 +0300 |
commit | c8abd1f5678f325b3a18d8e35dc00a924f2c30c2 (patch) | |
tree | 62211b2756d3b936a128e8649d6e57ca1a3beb52 | |
parent | eaa6ef15d555b2746e02a052a0ede1dcd8b2f937 (diff) | |
download | guix-c8abd1f5678f325b3a18d8e35dc00a924f2c30c2.tar.gz |
gnu: Add rust-platform-info-2.
* gnu/packages/crates-io.scm (rust-platform-info-2): New variable.
-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 eff70f9586..4c2062414d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46669,6 +46669,30 @@ network packet formats.") (license (list license:asl2.0 license:expat)))) +(define-public rust-platform-info-2 + (package + (name "rust-platform-info") + (version "2.0.2") + (source (origin + (method url-fetch) + (uri (crate-uri "platform-info" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03rhwsfhdr3sb6fxr0bmf7xav745m132y6vg05jzcfz5c149q9fn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/uutils/platform-info") + (synopsis "Cross-platform interface to get info about a system") + (description + "This package provides a simple cross-platform interface to get info about +a system.") + (license license:expat))) + (define-public rust-pledge-0.4 (package (name "rust-pledge") |