@@ -2,18 +2,18 @@
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "diff-so-fancy-${version}";
4 name = "diff-so-fancy-${version}";
5− version = "0.11.1";
5+ version = "0.11.4";
7− # perl is needed here so patchShebangs can do its job
8− buildInputs = [perl makeWrapper];
10 src = fetchFromGitHub {
7 src = fetchFromGitHub {
11 owner = "so-fancy";
8 owner = "so-fancy";
12 repo = "diff-so-fancy";
9 repo = "diff-so-fancy";
13 rev = "v${version}";
10 rev = "v${version}";
14− sha256 = "1dw32c5i9mry6zr2a6h1369fhp1qbqimx04qgdmdnmn1imyck1h3";
11+ sha256 = "1za2rm8jzcdc6bkpl198nrqf5bc05nw53vlkk15nmmb9snnb69ig";
14+ # Perl is needed here for patchShebangs
15+ nativeBuildInputs = [ perl makeWrapper ];
17 buildPhase = null;
17 buildPhase = null;
19 installPhase = ''
19 installPhase = ''
@@ -34,16 +34,14 @@ stdenv.mkDerivation rec {
34 --prefix PATH : "${ncurses.out}/bin"
34 --prefix PATH : "${ncurses.out}/bin"
37− meta = {
37+ meta = with stdenv.lib; {
38 homepage = https://github.com/so-fancy/diff-so-fancy;
38 homepage = https://github.com/so-fancy/diff-so-fancy;
39 description = "Good-looking diffs filter for git";
39 description = "Good-looking diffs filter for git";
40− license = stdenv.lib.licenses.mit;
40+ license = licenses.mit;
41−
41+ platforms = platforms.all;
42 longDescription = ''
42 longDescription = ''
43 diff-so-fancy builds on the good-lookin' output of git contrib's
43 diff-so-fancy builds on the good-lookin' output of git contrib's
44 diff-highlight to upgrade your diffs' appearances.
44 diff-highlight to upgrade your diffs' appearances.
47− platforms = stdenv.lib.platforms.all;