mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
diff-so-fancy: 0.11.1 -> 0.11.4 (#24562)
This commit is contained in:
parent
17aab8a63e
commit
ff4fa6387e
@ -2,18 +2,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "diff-so-fancy-${version}";
|
name = "diff-so-fancy-${version}";
|
||||||
version = "0.11.1";
|
version = "0.11.4";
|
||||||
|
|
||||||
# perl is needed here so patchShebangs can do its job
|
|
||||||
buildInputs = [perl makeWrapper];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "so-fancy";
|
owner = "so-fancy";
|
||||||
repo = "diff-so-fancy";
|
repo = "diff-so-fancy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1dw32c5i9mry6zr2a6h1369fhp1qbqimx04qgdmdnmn1imyck1h3";
|
sha256 = "1za2rm8jzcdc6bkpl198nrqf5bc05nw53vlkk15nmmb9snnb69ig";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Perl is needed here for patchShebangs
|
||||||
|
nativeBuildInputs = [ perl makeWrapper ];
|
||||||
|
|
||||||
buildPhase = null;
|
buildPhase = null;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -34,16 +34,14 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix PATH : "${ncurses.out}/bin"
|
--prefix PATH : "${ncurses.out}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/so-fancy/diff-so-fancy;
|
homepage = https://github.com/so-fancy/diff-so-fancy;
|
||||||
description = "Good-looking diffs filter for git";
|
description = "Good-looking diffs filter for git";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
diff-so-fancy builds on the good-lookin' output of git contrib's
|
diff-so-fancy builds on the good-lookin' output of git contrib's
|
||||||
diff-highlight to upgrade your diffs' appearances.
|
diff-highlight to upgrade your diffs' appearances.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user