diff mbox series

[bug#69698,6/7] gnu: Add rust-wu-diff-0.1.

Message ID 4f17a62e06df6506fcf18aa310cb28c51ec4790a.1710055565.git.mail@muradm.net
State New
Headers show
Series Add difft program. | expand

Commit Message

muradm March 10, 2024, 7:30 a.m. UTC
* gnu/packages/crates-io.scm (rust-wu-diff-0.1): New variable.

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

Comments

muradm March 10, 2024, 7:56 a.m. UTC | #1
close 69698

muradm <mail@muradm.net> writes:

> * gnu/packages/crates-io.scm (rust-wu-diff-0.1): New variable.
>
> Change-Id: I1e89c7a04f87b9538e2772b4141c573c59a3ac56
> ---
>  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 3493fb8ffc..b8797326f4 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -78275,6 +78275,28 @@ (define-public rust-winnow-0.4
>                         ("rust-memchr" ,rust-memchr-2)
>                         ("rust-terminal-size" 
>                         ,rust-terminal-size-0.2))))))
>
> +(define-public rust-wu-diff-0.1
> +  (package
> +    (name "rust-wu-diff")
> +    (version "0.1.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "wu-diff" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32 
> "14w8yacn4hk9k4rfzshlgir966xbwgbwk3fvf0l461nyzhsnfglf"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
> +    (home-page "https://github.com/bokuweb/wu-diff-rs")
> +    (synopsis
> +     "Compute differences between two slices using wu(the 
> O(NP)) algorithm.")
> +    (description
> +     "Compute differences between two slices using wu(the 
> O(NP)) algorithm.")
> +    (license license:expat)))
> +
>  (define-public rust-wycheproof-0.5
>    (package
>      (name "rust-wycheproof")
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3493fb8ffc..b8797326f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78275,6 +78275,28 @@  (define-public rust-winnow-0.4
                        ("rust-memchr" ,rust-memchr-2)
                        ("rust-terminal-size" ,rust-terminal-size-0.2))))))
 
+(define-public rust-wu-diff-0.1
+  (package
+    (name "rust-wu-diff")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wu-diff" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14w8yacn4hk9k4rfzshlgir966xbwgbwk3fvf0l461nyzhsnfglf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
+    (home-page "https://github.com/bokuweb/wu-diff-rs")
+    (synopsis
+     "Compute differences between two slices using wu(the O(NP)) algorithm.")
+    (description
+     "Compute differences between two slices using wu(the O(NP)) algorithm.")
+    (license license:expat)))
+
 (define-public rust-wycheproof-0.5
   (package
     (name "rust-wycheproof")