3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/difftastic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
698 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform, tree-sitter }:
2021-07-10 04:08:12 +01:00
rustPlatform.buildRustPackage rec {
pname = "difftastic";
2022-04-01 15:12:33 +01:00
version = "0.25.0";
2021-07-10 04:08:12 +01:00
src = fetchFromGitHub {
owner = "wilfred";
repo = pname;
rev = version;
2022-04-01 15:12:33 +01:00
sha256 = "sha256-TJMMy1fMwqUMVhztMOlN4yQhW5IF36yahOhDTJ9kadA=";
2021-07-10 04:08:12 +01:00
};
2022-04-01 15:12:33 +01:00
cargoSha256 = "sha256-crH2SodT+Wy3auk3uli253rIrHyKsibQcYGtpxwbJJQ=";
2021-07-10 04:08:12 +01:00
meta = with lib; {
description = "A syntax-aware diff";
homepage = "https://github.com/Wilfred/difftastic";
2021-09-08 00:00:00 +01:00
changelog = "https://github.com/Wilfred/difftastic/raw/${version}/CHANGELOG.md";
2021-07-10 04:08:12 +01:00
license = licenses.mit;
maintainers = with maintainers; [ ethancedwards8 figsoda ];
2021-11-28 20:09:30 +00:00
mainProgram = "difft";
2021-07-10 04:08:12 +01:00
};
}