summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2023-10-30 22:52:35 -0400
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:25 +0200
commitf12bf32ad6f1a4aa773fc71e0e7fd99594fa9582 (patch)
treee5a7977d4b8219ed0fd9a34ec94395b85205d0f9 /gnu/packages
parent39b6ee3b274b809ea6f5d1925c6b3b1f3155ba4c (diff)
downloadguix-f12bf32ad6f1a4aa773fc71e0e7fd99594fa9582.tar.gz
gnu: Add rust-os-release-0.1.
* gnu/packages/crates-io.scm (rust-os-release-0.1): New variable.

Change-Id: Ibdcbb14e7544270f99e06df90f3c65fe6cc5eaf2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb24e59ccd..d28a754eef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52088,6 +52088,26 @@ easy and usable crypto while trying to minimize the use of unsafe code.")
         ("rust-nix" ,rust-nix-0.8)
         ("rust-winapi" ,rust-winapi-0.2))))))
 
+(define-public rust-os-release-0.1
+  (package
+    (name "rust-os-release")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "os-release" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "09zckcazggm33cbhjgdajm8rg41x9y75yf13rhcyqlqvyzi9mwl2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1))))
+    (home-page "https://github.com/pop-os/os-release")
+    (synopsis "Parse @code{/etc/os-release} files on Linux distributions")
+    (description "This package provides parsing @code{/etc/os-release} files
+on Linux distributions.")
+    (license license:expat)))
+
 (define-public rust-os-str-bytes-6
   (package
     (name "rust-os-str-bytes")