all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: muradm <mail@muradm.net>
To: 56688@debbugs.gnu.org
Subject: [bug#56688] [PATCH 3/4] gnu: rust-fslock-0.2: Add rust-flock 0.2.1.
Date: Fri, 22 Jul 2022 06:26:13 +0300	[thread overview]
Message-ID: <20220722032614.22524-3-mail@muradm.net> (raw)
In-Reply-To: <20220722032614.22524-1-mail@muradm.net>

* gnu/packages/crates-io.scm (rust-fslock-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 6d7d41ef03..ffae46a7f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23043,6 +23043,28 @@ (define-public rust-fsevent-sys-2
      `(#:skip-build? #t     ; only available on macOS
        #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-fslock-0.2
+  (package
+    (name "rust-fslock")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fslock" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yrv9j44k3njzpnh8m2jc0gr3hklzyzwfj3gmsdklbi76n4jnh84"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/brunoczim/fslock")
+    (synopsis "File locking for Rust")
+    (description "API to use files as a lock. Supports non-std crates
+by disabling feature std.")
+    (license license:expat)))
+
 (define-public rust-fst-0.4
   (package
     (name "rust-fst")
-- 
2.36.1





  parent reply	other threads:[~2022-07-22  3:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22  3:22 [bug#56688] [PATCH 0/4] Add sworkstyle muradm
2022-07-22  3:26 ` [bug#56688] [PATCH 1/4] gnu: rust-ctrlc-3: Update to 3.2.1 muradm
2022-07-22  3:26   ` [bug#56688] [PATCH 2/4] gnu: rust-dirs-4: Add rust-dirs 4.0.0 muradm
2022-07-22  3:26   ` muradm [this message]
2022-07-22  3:26   ` [bug#56688] [PATCH 4/4] gnu: Add sworkstyle 1.2.2 muradm
2024-01-07 14:44 ` [bug#56688] [PATCH 0/4] Add sworkstyle muradm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220722032614.22524-3-mail@muradm.net \
    --to=mail@muradm.net \
    --cc=56688@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.