summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-30 21:06:19 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:30 +0200
commitecf6ee8cd2123a19e269cb0c1f35b4a8f625be09 (patch)
tree42711070f361e68e3f8360c4174abc98179ba596 /gnu/packages/crates-io.scm
parentdf96da96e262d0c539f307b3b5cfcf4ab9ed0764 (diff)
downloadguix-ecf6ee8cd2123a19e269cb0c1f35b4a8f625be09.tar.gz
gnu: Add rust-syslog-6.
* gnu/packages/crates-io.scm (rust-syslog-6): New variable.
(rust-syslog-4, rust-syslog-3): Inherit from rust-syslog-6.

Change-Id: I70883d88419f1250dc295172a452cccf7571c695
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm39
1 files changed, 27 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ceaf901033..eef0cf3e3b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74943,8 +74943,32 @@ processors, disks, components and networks.")
 processors, disks, components and networks.")
     (license license:expat)))
 
+(define-public rust-syslog-6
+  (package
+    (name "rust-syslog")
+    (version "6.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "syslog" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vzrwwv3v9bwfinp7yz4kcdxxs00ikz89gzl61fj3qfcridyjd3l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12)
+                       ("rust-hostname" ,rust-hostname-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-time" ,rust-time-0.3))))
+    (home-page "https://github.com/Geal/rust-syslog")
+    (synopsis "Send log messages to syslog")
+    (description "Rust crate to send messages to Syslog.")
+    (license license:expat)))
+
 (define-public rust-syslog-4
   (package
+    (inherit rust-syslog-6)
     (name "rust-syslog")
     (version "4.0.1")
     (source
@@ -74956,21 +74980,17 @@ processors, disks, components and networks.")
         (sha256
          (base32
           "09ykcbvwx8icvf303mqyz76ji8j6fgyyx97zpr23s788ni112r50"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-time" ,rust-time-0.1)
         ("rust-error-chain" ,rust-error-chain-0.11)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-log" ,rust-log-0.4))))
-    (home-page "https://github.com/Geal/rust-syslog")
-    (synopsis "Send log messages to syslog")
-    (description "Send log messages to syslog.")
-    (license license:expat)))
+        ("rust-log" ,rust-log-0.4))))))
 
 (define-public rust-syslog-3
   (package
+    (inherit rust-syslog-6)
     (name "rust-syslog")
     (version "3.3.0")
     (source
@@ -74982,18 +75002,13 @@ processors, disks, components and networks.")
         (sha256
          (base32
           "0hpdnk2zm6xawpz6fv6qbn0ncfm5p0wm5c6gq7yhaz2gvsnb1jdv"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-time" ,rust-time-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-log" ,rust-log-0.3)
-        ("rust-unix-socket" ,rust-unix-socket-0.5))))
-    (home-page "https://github.com/Geal/rust-syslog")
-    (synopsis "Send log messages to syslog")
-    (description "Send log messages to syslog.")
-    (license license:expat)))
+        ("rust-unix-socket" ,rust-unix-socket-0.5))))))
 
 (define-public rust-system-deps-6
   (package