gitAndTools.topgit: 0.9 -> 0.19.12
This commit is contained in:
parent
86d143f58c
commit
4e19dfcb70
|
@ -1,26 +1,30 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchFromGitHub, git, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "topgit-0.9";
|
pname = "topgit";
|
||||||
|
version = "0.19.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/greenrd/topgit/archive/${name}.tar.gz";
|
owner = "mackyle";
|
||||||
sha256 = "1z9x42a0cmn8n2n961qcfl522nd6j9a3dpx1jbqfp24ddrk5zd94";
|
repo = "topgit";
|
||||||
|
rev = "${pname}-${version}";
|
||||||
|
sha256 = "1wvf8hmwwl7a2fr17cfs3pbxjccdsjw9ngzivxlgja0gvfz4hjd5";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "makeFlags=prefix=$out";
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ perl git ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/share/doc/${name}" "$out/etc/bash_completion.d/"
|
install -Dm644 README -t"$out/share/doc/${pname}-${version}/"
|
||||||
mv README "$out/share/doc/${name}/"
|
install -Dm755 contrib/tg-completion.bash -t "$out/etc/bash_completion.d/"
|
||||||
mv contrib/tg-completion.bash "$out/etc/bash_completion.d/"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/greenrd/topgit;
|
|
||||||
description = "TopGit manages large amount of interdependent topic branches";
|
description = "TopGit manages large amount of interdependent topic branches";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
homepage = "https://github.com/mackyle/topgit";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ marcweber ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue