diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-30 13:02:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 13:02:21 +0000 |
commit | b71a0d62f7d2965bea3a90525c2bcecbc1e6d45f (patch) | |
tree | 3cc903309172db2e2f9f422429b51ff6072f089d | |
parent | 540377bc134ef1975ac56d6ad7565bd3e362a1ef (diff) | |
parent | 7a979a3325733db07f4d91d9dd77b2035d06bfb0 (diff) |
Merge pull request #129815 from ethancedwards8/difftastic
difftastic: init at unstable-2021-07-09
-rw-r--r-- | pkgs/tools/text/difftastic/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix new file mode 100644 index 0000000000000..3a32f855c0c56 --- /dev/null +++ b/pkgs/tools/text/difftastic/default.nix @@ -0,0 +1,23 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "difftastic"; + version = "0.6"; + + src = fetchFromGitHub { + owner = "wilfred"; + repo = pname; + rev = version; + sha256 = "WFvxdRCbTBW1RGn2SvAo2iXn82OO/Z06cZQkIu4eiew="; + }; + + cargoSha256 = "2hRUfIxNVs4uSrEESas3wvvVsZHVocP8aiO7K0NZ+mY="; + + meta = with lib; { + description = "A syntax-aware diff"; + homepage = "https://github.com/Wilfred/difftastic"; + license = licenses.mit; + maintainers = with maintainers; [ ethancedwards8 ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5623f73b6cb7..1d8cb59cd9abd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4235,6 +4235,8 @@ in diffstat = callPackage ../tools/text/diffstat { }; + difftastic = callPackage ../tools/text/difftastic { }; + diffutils = callPackage ../tools/text/diffutils { }; dir2opus = callPackage ../tools/audio/dir2opus { |