guix-commits
[Top][All Lists]
Advanced

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

21/37: gnu: Add rust-faccess-0.2.


From: guix-commits
Subject: 21/37: gnu: Add rust-faccess-0.2.
Date: Thu, 9 Mar 2023 12:12:06 -0500 (EST)

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

commit 3d60a2b929e579f91aa18b6db69f5eaedf2909f6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:49:24 2023 +0200

    gnu: Add rust-faccess-0.2.
    
    * gnu/packages/crates-io.scm (rust-faccess-0.2): New variable.
---
 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 c36bb940fe..486b3698c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20907,6 +20907,28 @@ traits but without the boilerplate.")
 handling type for easy idiomatic error handling and reporting in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-faccess-0.2
+  (package
+    (name "rust-faccess")
+    (version "0.2.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "faccess" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1m967rz9qknzbqh7l8hga91s32y3p041mbk8w81skmh2b116dbjr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f                  ; Not all files included.
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/Freaky/faccess";)
+    (synopsis "Simple file accessibility checks")
+    (description "Simple file accessibility checks in rust.")
+    (license license:expat)))
+
 (define-public rust-fake-simd-0.1
   (package
     (name "rust-fake-simd")



reply via email to

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