d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
30 lines
838 B
Nix
30 lines
838 B
Nix
{ lib, stdenv, fetchFromGitHub, git, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "topgit";
|
|
version = "0.19.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mackyle";
|
|
repo = "topgit";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "sha256-K0X1DGc1LQsoteUhoHLxVJRrZaaPLKSSF61OKyGB5Qg=";
|
|
};
|
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
nativeBuildInputs = [ perl git ];
|
|
|
|
postInstall = ''
|
|
install -Dm644 README -t "$out/share/doc/${pname}-${version}/"
|
|
install -Dm755 contrib/tg-completion.bash -t "$out/share/bash-completion/completions/"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "TopGit manages large amount of interdependent topic branches";
|
|
homepage = "https://github.com/mackyle/topgit";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ marcweber ];
|
|
};
|
|
}
|