nixpkgs/pkgs/applications/version-management/git-and-tools/topgit/default.nix

27 lines
789 B
Nix
Raw Normal View History

2013-03-20 09:50:06 +01:00
{ stdenv, fetchurl }:
2013-03-20 09:50:06 +01:00
stdenv.mkDerivation rec {
name = "topgit-0.9";
src = fetchurl {
2013-03-20 09:50:06 +01:00
url = "https://github.com/greenrd/topgit/archive/${name}.tar.gz";
sha256 = "1z9x42a0cmn8n2n961qcfl522nd6j9a3dpx1jbqfp24ddrk5zd94";
};
2013-03-20 09:50:06 +01:00
configurePhase = "makeFlags=prefix=$out";
postInstall = ''
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/"
'';
meta = {
2013-03-20 09:50:06 +01:00
homepage = "https://github.com/greenrd/topgit";
description = "TopGit manages large amount of interdependent topic branches";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
2013-03-20 09:50:06 +01:00
maintainers = with stdenv.lib.maintainers; [ marcweber ludo simons ];
};
}