Subject: [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:35 -0400

* gnu/packages/crates-io.scm (rust-os-release-0.1): New variable.

Change-Id: Ibdcbb14e7544270f99e06df90f3c65fe6cc5eaf2
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7902c9ed1d..e78d755585 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47808,6 +47808,26 @@ (define-public rust-os-pipe-0.5
         ("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")
-- 
2.34.1