diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix index 1bc18749c652..12ad1a764fb2 100644 --- a/pkgs/tools/text/difftastic/default.nix +++ b/pkgs/tools/text/difftastic/default.nix @@ -1,17 +1,19 @@ -{ lib, fetchFromGitHub, rustPlatform, tree-sitter }: +{ lib, fetchFromGitHub, rustPlatform, tree-sitter, difftastic, testVersion }: rustPlatform.buildRustPackage rec { pname = "difftastic"; - version = "0.26.0"; + version = "0.26.3"; src = fetchFromGitHub { owner = "wilfred"; repo = pname; rev = version; - sha256 = "sha256-bluiRWueb9+UG+8jCwm+Xc483dSvoxwu+HP02I0DZBs="; + sha256 = "11qvl78dskhawmzjbff2cd4icwvlfhg8hzf1law5w5cr768zv7yn"; }; - cargoSha256 = "sha256-nVYPvYt3Sr1VxoXiaFhpiAh+vngklsr6vn1jfBUg4C4="; + cargoSha256 = "1kmwd9m94kl3j6ajfndr7rjx66fsqvnn2jh0m54ac5qd5r9hhdc8"; + + passthru.tests.version = testVersion { package = difftastic; }; meta = with lib; { description = "A syntax-aware diff";