guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

412/436: gnu: Add rust-partition-identity-0.3.


From: guix-commits
Subject: 412/436: gnu: Add rust-partition-identity-0.3.
Date: Sun, 5 Nov 2023 05:30:08 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 5a1b8a49c16e1a39d7aa2330ee4a639d64c9abcc
Author: Jaeme Sifat <jaeme@runbox.com>
AuthorDate: Sun Oct 29 00:26:58 2023 -0400

    gnu: Add rust-partition-identity-0.3.
    
    * gnu/packages/crates-io.scm (rust-partition-identity-0.3): New variable.
    
    Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
    Change-Id: I8f61580cb1e31965564c8c7699e6218b78b82fd4
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b1091ef9c5..4117d7f479 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51765,6 +51765,28 @@ and would-block I/O operations.")
         ("rust-tokio-core" ,rust-tokio-core-0.1))))
     (license license:bsd-3)))
 
+(define-public rust-partition-identity-0.3
+  (package
+    (name "rust-partition-identity")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "partition-identity" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08cymccnyf2b0pwc7x4wj889k1knqmrb8500idsjslybpvwjbacz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/pop-os/partition-identity";)
+    (synopsis
+     "Find the ID of a device by its path, or find a device path by its ID")
+    (description
+     "This package provides the ability to find ID of a device by its path, or
+find a device path by its ID.")
+    (license license:expat)))
+
 (define-public rust-pasetors-0.6
   (package
     (name "rust-pasetors")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]