@@ -2,18 +2,18 @@
22
33stdenv.mkDerivation rec {
44 name = "diff-so-fancy-${version}";
5− version = "0.11.1";
6−
7− # perl is needed here so patchShebangs can do its job
8− buildInputs = [perl makeWrapper];
5+ version = "0.11.4";
96
107 src = fetchFromGitHub {
118 owner = "so-fancy";
129 repo = "diff-so-fancy";
1310 rev = "v${version}";
14− sha256 = "1dw32c5i9mry6zr2a6h1369fhp1qbqimx04qgdmdnmn1imyck1h3";
11+ sha256 = "1za2rm8jzcdc6bkpl198nrqf5bc05nw53vlkk15nmmb9snnb69ig";
1512 };
1613
14+ # Perl is needed here for patchShebangs
15+ nativeBuildInputs = [ perl makeWrapper ];
16+
1717 buildPhase = null;
1818
1919 installPhase = ''
@@ -34,16 +34,14 @@ stdenv.mkDerivation rec {
3434 --prefix PATH : "${ncurses.out}/bin"
3535 '';
3636
37− meta = {
37+ meta = with stdenv.lib; {
3838 homepage = https://github.com/so-fancy/diff-so-fancy;
3939 description = "Good-looking diffs filter for git";
40− license = stdenv.lib.licenses.mit;
41−
40+ license = licenses.mit;
41+ platforms = platforms.all;
4242 longDescription = ''
4343 diff-so-fancy builds on the good-lookin' output of git contrib's
4444 diff-highlight to upgrade your diffs' appearances.
4545 '';
46−
47− platforms = stdenv.lib.platforms.all;
4846 };
4947}