about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-interactive-rebase-tool/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-07-19 15:57:11 +0200
committerzowoq <59103226+zowoq@users.noreply.github.com>2023-07-21 14:32:35 +1000
commit55e7f425a2d8a8860d5746b36554064b5aabf7ea (patch)
tree759fdd3254cdab371d478bca366e2a29664b1c62 /pkgs/applications/version-management/git-interactive-rebase-tool/default.nix
parent12ecdc253bc6ed081268e3eaef86cd1a5c533773 (diff)
git-interactive-rebase-tool: 2.2.1 -> 2.3.0, drop intactive maintainer
Diffstat (limited to 'pkgs/applications/version-management/git-interactive-rebase-tool/default.nix')
-rw-r--r--pkgs/applications/version-management/git-interactive-rebase-tool/default.nix20
1 files changed, 16 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/git-interactive-rebase-tool/default.nix b/pkgs/applications/version-management/git-interactive-rebase-tool/default.nix
index 97e2cf0537ac9..b78b17797f2c6 100644
--- a/pkgs/applications/version-management/git-interactive-rebase-tool/default.nix
+++ b/pkgs/applications/version-management/git-interactive-rebase-tool/default.nix
@@ -2,16 +2,28 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "git-interactive-rebase-tool";
-  version = "2.2.1";
+  version = "2.3.0";
 
   src = fetchFromGitHub {
     owner = "MitMaro";
     repo = pname;
     rev = version;
-    sha256 = "sha256-KqItunxh24jAkvsAMnByS+dhm+wyUqmdF96qEDs/5mI=";
+    sha256 = "sha256-tMeA2LsNCXxI086y8S+STYwjClWMPaBheP0s0oZ5I5c=";
   };
 
-  cargoSha256 = "sha256-510kNtcSsuXADMmSqu2t0HsnPUS/Jedsfvjnh2k+vDs=";
+  postPatch = ''
+    # unknown lint: `ffi_unwind_calls`
+    # note: the `ffi_unwind_calls` lint is unstable
+    substituteInPlace src/main.rs src/{config,core,display,input,git,runtime,todo_file,view}/src/lib.rs \
+      --replace "ffi_unwind_calls," ""
+  '';
+
+  cargoLock = {
+    lockFile = ./Cargo.lock;
+    outputHashes = {
+      "claim-0.5.0" = "sha256-quVV5PnWW1cYK+iSOM/Y0gLu2gPOrZ1ytJif0D5v9g0=";
+    };
+  };
 
   buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
 
@@ -30,7 +42,7 @@ rustPlatform.buildRustPackage rec {
     description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
     changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";
     license = licenses.mit;
-    maintainers = with maintainers; [ masaeedu SuperSandro2000 zowoq ];
+    maintainers = with maintainers; [ SuperSandro2000 zowoq ];
     mainProgram = "interactive-rebase-tool";
   };
 }