all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zheng Junjie <873216071@qq.com>
To: 48956@debbugs.gnu.org
Cc: Zheng junjie <873216071@qq.com>
Subject: [bug#48956] [PATCH 35/58] gnu: Add rust-notify-5.
Date: Fri, 11 Jun 2021 20:53:14 +0800	[thread overview]
Message-ID: <tencent_735E6EA2A6EA659DFC09E95495C7944CD70A@qq.com> (raw)
In-Reply-To: <20210611125337.10255-1-873216071@qq.com>

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-notify-5): New variable.
(rust-notify-4): inherit from above.
---
 gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++----
 1 file changed, 46 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6431e0abc9..e80fd076c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27494,8 +27494,54 @@ with all line endings.")
         (base32
          "1a1knz9j1w5a1pl2q6whmjphm3z6p64r5njnam7syp5rx8wil2if"))))))
 
+(define-public rust-notify-5
+  (package
+    (name "rust-notify")
+    (version "5.0.0-pre.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "notify" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0jq1ixzi7rgq233dxbxkn129n8lidswp1glsgbdhvw7ig38brfs6"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+        (("rust-bitflags" ,rust-bitflags-1)
+         ("rust-crossbeam-channel"
+          ,rust-crossbeam-channel-0.5)
+         ("rust-filetime" ,rust-filetime-0.2)
+         ("rust-fsevent" ,rust-fsevent-2)
+         ("rust-fsevent-sys" ,rust-fsevent-sys-3)
+         ("rust-inotify" ,rust-inotify-0.9)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-mio" ,rust-mio-0.7)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-walkdir" ,rust-walkdir-2)
+         ("rust-winapi" ,rust-winapi-0.3))
+        #:cargo-development-inputs
+        (("rust-serde-json" ,rust-serde-json-1))
+        #:phases
+        (modify-phases %standard-phases
+          (add-after 'unpack 'fix-version-requirements
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("0.7.7") ,(package-version rust-mio-0.7)))
+             #t)))))
+    (home-page "https://github.com/notify-rs/notify")
+    (synopsis
+      "Cross-platform filesystem notification library")
+    (description
+      "Cross-platform filesystem notification library")
+    (license (list license:cc0 license:artistic2.0))))
+
 (define-public rust-notify-4
   (package
+    (inherit rust-notify-5)
     (name "rust-notify")
     (version "4.0.15")
     (source
@@ -27507,7 +27553,6 @@ with all line endings.")
        (sha256
         (base32
          "1gadf8jf1vz7sip37rlwa66vw85ripy6977ibcfbiynii1v4mbl0"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
@@ -27522,10 +27567,6 @@ with all line endings.")
         ("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
        (("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/passcod/notify")
-    (synopsis "Cross-platform file system notification library")
-    (description
-     "Cross-platform file system notification library.")
     (license license:cc0)))
 
 (define-public rust-ntapi-0.3
-- 
2.32.0





      parent reply	other threads:[~2021-06-11 12:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210611125337.10255-1-873216071@qq.com>
2021-06-11 12:52 ` [bug#48956] [PATCH 17/58] gnu: Add rust-snap-1 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 18/58] gnu: Add rust-object-0.24 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 19/58] gnu: Add rust-anymap-0.12 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 20/58] gnu: Add rust-xshell-macros-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 21/58] gnu: Add rust-xshell-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 22/58] gnu: Add rust-arrayvec-0.7 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 23/58] gnu: Add rust-camino-1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 24/58] gnu: Add rust-countme-2 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 26/58] gnu: Add rust-cov-mark-1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 27/58] gnu: Add rust-drop-bomb-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 28/58] gnu: Add rust-jod-thread-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 30/58] gnu: Add rust-lsp-server-0.5 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 32/58] gnu: Add rust-fsevent-sys-3 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 33/58] gnu: rust-time-0.2: fix inputs Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2 Zheng Junjie
2021-06-11 12:53 ` Zheng Junjie [this message]

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=tencent_735E6EA2A6EA659DFC09E95495C7944CD70A@qq.com \
    --to=873216071@qq.com \
    --cc=48956@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.