[bug#75127,rust-team,v2,28/67] gnu: Add rust-self-update-0.41.

Message ID fe9f511b2a0cac39847b847eb6322303523ea09d.1735270014.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v2,01/67] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Dec. 27, 2024, 3:26 a.m. UTC
  * gnu/packages/crates-io.scm (rust-self-update-0.41): New variable.

Change-Id: Idd45bfba1adb6a47859585b641edf871e5ce0826
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 276a59d11f..b19d9b5a79 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75944,6 +75944,42 @@  (define-public rust-self-cell-1
 in stable Rust.")
     (license license:asl2.0)))
 
+(define-public rust-self-update-0.41
+  (package
+    (name "rust-self-update")
+    (version "0.41.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "self_update" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rcdma359wic71km5n139rx61zn0fhz3k7r6aacc300k0rq3k6j6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-either" ,rust-either-1)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-hyper" ,rust-hyper-1)
+                       ("rust-indicatif" ,rust-indicatif-0.17)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-quick-xml" ,rust-quick-xml-0.23)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-reqwest" ,rust-reqwest-0.12)
+                       ("rust-self-replace" ,rust-self-replace-1)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-tar" ,rust-tar-0.4)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-urlencoding" ,rust-urlencoding-2)
+                       ("rust-zip" ,rust-zip-2)
+                       ("rust-zipsign-api" ,rust-zipsign-api-0.1))))
+    (home-page "https://github.com/jaemk/self_update")
+    (synopsis "Self updates for standalone executables")
+    (description
+     "This package provides Self updates for standalone executables.")
+    (license license:expat)))
+
 (define-public rust-selinux-0.4
   (package
     (name "rust-selinux")