gnu: diffr: Update to 0.1.5.

* gnu/packages/rust-apps.scm (diffr): Update to 0.1.5.
[arguments]: Update cargo-test-flags.
[cargo-inputs]: Remove rust-clap-2, rust-diffr-lib-0.1.

Change-Id: Id92bed18548ec6021da259aa7f556f20c40894e4
This commit is contained in:
Efraim Flashner 2024-01-23 16:41:42 +02:00
parent 639e50fcd6
commit 9778ce6b89
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -313,35 +313,34 @@ (define-public bat
(define-public diffr
(package
(name "diffr")
(version "0.1.4")
(version "0.1.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "diffr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1b0mz1ki2ksxni6g49x5l5j9ijpyhc11mywvxr9i9h3nr098nc5l"))))
(base32 "1kdngd5g1ssdiq7d10jr3jwg0sx740x3vmhq3j594a5kd467ikib"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f
;; https://github.com/mookid/diffr/issues/79
#:cargo-test-flags
'("--release" "--"
"--skip=tests::success"
"--skip=test_cli::color_invalid_attribute_name"
"--skip=test_cli::color_invalid_color_not_done"
"--skip=test_cli::color_invalid_color_value_ansi"
"--skip=test_cli::color_invalid_color_value_name"
"--skip=test_cli::color_invalid_color_value_rgb"
"--skip=test_cli::color_invalid_face_name"
"--skip=test_cli::color_ok"
"--skip=test_cli::color_ok_multiple"
"--skip=test_cli::color_only_face_name"
"--skip=test_cli::debug_flag")
"--skip=tests_cli::color_invalid_attribute_name"
"--skip=tests_cli::color_invalid_color_not_done"
"--skip=tests_cli::color_invalid_color_value_ansi"
"--skip=tests_cli::color_invalid_color_value_name"
"--skip=tests_cli::color_invalid_color_value_rgb"
"--skip=tests_cli::color_invalid_face_name"
"--skip=tests_cli::color_ok"
"--skip=tests_cli::color_ok_multiple"
"--skip=tests_cli::color_only_face_name"
"--skip=tests_cli::debug_flag"
"--skip=tests_cli::line_numbers_style"
"--skip=tests_cli::test_bad_argument")
#:cargo-inputs
(("rust-atty" ,rust-atty-0.2)
("rust-clap" ,rust-clap-2)
("rust-diffr-lib" ,rust-diffr-lib-0.1)
("rust-termcolor" ,rust-termcolor-1))))
(home-page "https://github.com/mookid/diffr")
(synopsis "Longest Common Sequence based diff highlighting tool")