diff options
author | jgart <jgart@dismail.de> | 2021-12-05 16:36:12 -0500 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-14 10:55:43 +0100 |
commit | 3dbb7112d443ab0220febb467effc5f4c46141b8 (patch) | |
tree | c96bb482fb61079433ef8d41e4a8eba47bb7b381 | |
parent | 4000e49892c5283c5146ba53bf9a59e47b991813 (diff) | |
download | guix-3dbb7112d443ab0220febb467effc5f4c46141b8.tar.gz |
gnu: Add git-interactive-rebase-tool.
* gnu/packages/rust-apps.scm (git-interactive-rebase-tool): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/rust-apps.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index b5eef83108..556ff04940 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -686,6 +686,51 @@ your current directory for a regex pattern while respecting your gitignore rules.") (license (list license:unlicense license:expat)))) +(define-public git-interactive-rebase-tool + (package + (name "git-interactive-rebase-tool") + (version "2.1.0") + (source + (origin + ;; crates.io does not provide the test data. + (method git-fetch) + (uri (git-reference + (url "https://github.com/mitmaro/git-interactive-rebase-tool") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "173spqqpyc00kvfmldjmjfqizh9b4spq4xw4bskd4dny8qcpz28d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + ;; https://github.com/MitMaro/git-interactive-rebase-tool/issues/586 + '("--release" "--" "--skip=tests::success") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-crossterm" ,rust-crossterm-0.19) + ("rust-git2" ,rust-git2-0.13) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-xi-unicode" ,rust-xi-unicode-0.3)) + #:cargo-development-inputs + (("rust-concat-idents" ,rust-concat-idents-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rstest" ,rust-rstest-0.6) + ("rust-serial-test" ,rust-serial-test-0.5) + ("rust-tempfile" ,rust-tempfile-3)))) + (inputs + (list zlib)) + (home-page "https://gitrebasetool.mitmaro.ca/") + (synopsis "Terminal based sequence editor for git interactive rebase") + (description + "This application is a terminal-based sequence editor for git interactive +rebase.") + (license license:gpl3+))) + (define-public rust-cbindgen (package (name "rust-cbindgen") |