2013-03-20 08:50:06 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2011-03-23 10:24:22 +00:00
|
|
|
|
2013-03-20 08:50:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "topgit-0.9";
|
2011-03-23 10:24:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-03-20 08:50:06 +00:00
|
|
|
url = "https://github.com/greenrd/topgit/archive/${name}.tar.gz";
|
|
|
|
sha256 = "1z9x42a0cmn8n2n961qcfl522nd6j9a3dpx1jbqfp24ddrk5zd94";
|
2011-03-23 10:24:22 +00:00
|
|
|
};
|
|
|
|
|
2013-03-20 08:50:06 +00:00
|
|
|
configurePhase = "makeFlags=prefix=$out";
|
2011-03-23 10:24:22 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
2013-03-20 10:43:43 +00:00
|
|
|
mkdir -p "$out/share/doc/${name}" "$out/etc/bash_completion.d/"
|
|
|
|
mv README "$out/share/doc/${name}/"
|
|
|
|
mv contrib/tg-completion.bash "$out/etc/bash_completion.d/"
|
2011-03-23 10:24:22 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/greenrd/topgit;
|
2013-03-20 08:50:06 +00:00
|
|
|
description = "TopGit manages large amount of interdependent topic branches";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2011-03-23 10:24:22 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-05-16 21:30:20 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
2011-03-23 10:24:22 +00:00
|
|
|
};
|
|
|
|
}
|