summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-30 21:06:21 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:30 +0200
commit57b26b089eb4a49539ef1e8ff9dbc4760efe63c0 (patch)
tree40a824841fc07264a346bf63c905a36e80f8b612 /gnu
parentff9a8377e92c973c12a9ae0b64419be353282e33 (diff)
downloadguix-57b26b089eb4a49539ef1e8ff9dbc4760efe63c0.tar.gz
gnu: Add rust-reopen-1.
* gnu/packages/crates-io.scm (rust-reopen-1): New variable.
(rust-reopen-0.3): Inherit from rust-reopen-1.

Change-Id: I9ef9a7ee488a0351b038038f6a355043bdc80282
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm46
1 files changed, 32 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee16f119c1..bc91dc94fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60771,30 +60771,48 @@ avoided if possible.")
 Should not be used directly.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-reopen-0.3
+(define-public rust-reopen-1
   (package
     (name "rust-reopen")
-    (version "0.3.0")
+    (version "1.0.3")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "reopen" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "12b3mfxkwb8akdfa701nzvqr6lsc6n84vrq088gmjy8lxlmr4an6"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "reopen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14w2v7a4dav23jzfrxj9lgacp731xizvng4bn7slan7qmk1wwhpz"))))
     (build-system cargo-build-system)
     (arguments
-      `(#:skip-build? #t
-        #:cargo-inputs
-        (("rust-signal-hook" ,rust-signal-hook-0.1)
-         ("rust-libc" ,rust-libc-0.2))))
+     `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3))
+       #:cargo-development-inputs (("rust-log" ,rust-log-0.4)
+                                   ("rust-partial-io" ,rust-partial-io-0.3)
+                                   ("rust-simple-logging" ,rust-simple-logging-2)
+                                   ("rust-version-sync" ,rust-version-sync-0.9))))
     (home-page "https://github.com/vorner/reopen")
     (synopsis "File reopening utility")
     (description "File reopening utility.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-reopen-0.3
+  (package
+    (inherit rust-reopen-1)
+    (name "rust-reopen")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "reopen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12b3mfxkwb8akdfa701nzvqr6lsc6n84vrq088gmjy8lxlmr4an6"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-signal-hook" ,rust-signal-hook-0.1)
+                       ("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-repr-offset-0.2
   (package
     (name "rust-repr-offset")