summary refs log tree commit diff
path: root/pkgs/tools/text/difftastic/default.nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-11-28 15:09:30 -0500
committerfigsoda <figsoda@pm.me>2021-11-28 15:11:01 -0500
commit1c8513dfe4af5220d7a6d3c259471b502d2be84e (patch)
treef9cc527fca771a08f3164d1e5a7eb6406afbd49f /pkgs/tools/text/difftastic/default.nix
parent4a921e5be5251c1faf37aeb4dbd7bbaee82f1dbf (diff)
downloadnixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar.gz
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar.bz2
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar.lz
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar.xz
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.tar.zst
nixpkgs-1c8513dfe4af5220d7a6d3c259471b502d2be84e.zip
difftastic: 0.11.0 -> 0.12.0
Diffstat (limited to 'pkgs/tools/text/difftastic/default.nix')
-rw-r--r--pkgs/tools/text/difftastic/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix
index f8ceec253a6..ee86bcd635e 100644
--- a/pkgs/tools/text/difftastic/default.nix
+++ b/pkgs/tools/text/difftastic/default.nix
@@ -2,16 +2,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "difftastic";
-  version = "0.11.0";
+  version = "0.12.0";
 
   src = fetchFromGitHub {
     owner = "wilfred";
     repo = pname;
     rev = version;
-    sha256 = "sha256-Arg1n5WFCNGHZay56BvLrPDAvvUKVurVNEKgTzHgIzI=";
+    sha256 = "sha256-A6Z3g6fbYBynyN4OhRrZNO0ZghvT3XnIahdUQ8SE8tU=";
   };
 
-  cargoSha256 = "sha256-ArIyIAxVgGmI+MdkVBo0xihDdw3RlRiPLJOhPcC1KLw=";
+  cargoSha256 = "sha256-6/JwrPymtpj/CXqx3Pe43v+MJTNONArU2WEo/zgJhT4=";
 
   postPatch = ''
     pushd vendor
@@ -30,5 +30,6 @@ rustPlatform.buildRustPackage rec {
     changelog = "https://github.com/Wilfred/difftastic/raw/${version}/CHANGELOG.md";
     license = licenses.mit;
     maintainers = with maintainers; [ ethancedwards8 figsoda ];
+    mainProgram = "difft";
   };
 }