guix-commits
[Top][All Lists]
Advanced

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

426/470: gnu: Add rust-faccess-0.2.


From: guix-commits
Subject: 426/470: gnu: Add rust-faccess-0.2.
Date: Thu, 16 Mar 2023 03:02:30 -0400 (EDT)

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

commit 95710e56ae11f08331d3fec394bbc3bf550a0d39
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 2c25fa2042..155e13f13d 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]