gitAndTools.git-extras: 4.7.0 -> 5.0.0
For a list of changes and additions see: https://github.com/tj/git-extras/releases/tag/5.0.0
This commit is contained in:
parent
c6a1412132
commit
6d9280ea0f
|
@ -1,19 +1,26 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchzip, unixtools, which }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "git-extras";
|
pname = "git-extras";
|
||||||
version = "4.7.0";
|
version = "5.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
|
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
|
||||||
sha256 = "0pab4f5kmmcn333aswkgndf1fgilc41h8h0rk3lviz0yi8j59vaq";
|
sha256 = "0c839kc5mhi1iqhc696p4dj67i5hm2gi4d8cvdpskaapb124mj2f";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unixtools.column which ];
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" ];
|
preInstall = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
# bash completion is already handled by make install
|
||||||
install -D etc/git-extras-completion.zsh $out/share/zsh/site-functions/_git_extras
|
install -D etc/git-extras-completion.zsh $out/share/zsh/site-functions/_git_extras
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue