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) | |
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 b5eef83108d..556ff049407 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 | |||
| 686 | gitignore rules.") | 686 | gitignore rules.") |
| 687 | (license (list license:unlicense license:expat)))) | 687 | (license (list license:unlicense license:expat)))) |
| 688 | 688 | ||
| 689 | (define-public git-interactive-rebase-tool | ||
| 690 | (package | ||
| 691 | (name "git-interactive-rebase-tool") | ||
| 692 | (version "2.1.0") | ||
| 693 | (source | ||
| 694 | (origin | ||
| 695 | ;; crates.io does not provide the test data. | ||
| 696 | (method git-fetch) | ||
| 697 | (uri (git-reference | ||
| 698 | (url "https://github.com/mitmaro/git-interactive-rebase-tool") | ||
| 699 | (commit version))) | ||
| 700 | (file-name (git-file-name name version)) | ||
| 701 | (sha256 | ||
| 702 | (base32 | ||
| 703 | "173spqqpyc00kvfmldjmjfqizh9b4spq4xw4bskd4dny8qcpz28d")))) | ||
| 704 | (build-system cargo-build-system) | ||
| 705 | (arguments | ||
| 706 | `(#:cargo-test-flags | ||
| 707 | ;; https://github.com/MitMaro/git-interactive-rebase-tool/issues/586 | ||
| 708 | '("--release" "--" "--skip=tests::success") | ||
| 709 | #:cargo-inputs | ||
| 710 | (("rust-anyhow" ,rust-anyhow-1) | ||
| 711 | ("rust-chrono" ,rust-chrono-0.4) | ||
| 712 | ("rust-clap" ,rust-clap-2) | ||
| 713 | ("rust-crossterm" ,rust-crossterm-0.19) | ||
| 714 | ("rust-git2" ,rust-git2-0.13) | ||
| 715 | ("rust-num-format" ,rust-num-format-0.4) | ||
| 716 | ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) | ||
| 717 | ("rust-unicode-width" ,rust-unicode-width-0.1) | ||
| 718 | ("rust-xi-unicode" ,rust-xi-unicode-0.3)) | ||
| 719 | #:cargo-development-inputs | ||
| 720 | (("rust-concat-idents" ,rust-concat-idents-1) | ||
| 721 | ("rust-lazy-static" ,rust-lazy-static-1) | ||
| 722 | ("rust-rstest" ,rust-rstest-0.6) | ||
| 723 | ("rust-serial-test" ,rust-serial-test-0.5) | ||
| 724 | ("rust-tempfile" ,rust-tempfile-3)))) | ||
| 725 | (inputs | ||
| 726 | (list zlib)) | ||
| 727 | (home-page "https://gitrebasetool.mitmaro.ca/") | ||
| 728 | (synopsis "Terminal based sequence editor for git interactive rebase") | ||
| 729 | (description | ||
| 730 | "This application is a terminal-based sequence editor for git interactive | ||
| 731 | rebase.") | ||
| 732 | (license license:gpl3+))) | ||
| 733 | |||
| 689 | (define-public rust-cbindgen | 734 | (define-public rust-cbindgen |
| 690 | (package | 735 | (package |
| 691 | (name "rust-cbindgen") | 736 | (name "rust-cbindgen") |
