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
653 B
Nix
30 lines
653 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "git-my";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "davidosomething";
|
|
repo = "git-my";
|
|
rev = version;
|
|
sha256 = "0jji5zw25jygj7g4f6f3k0p0s9g37r8iad8pa0s67cxbq2v4sc0v";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -Dm755 -t "$out"/bin ./git-my
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"List remote branches if they're merged and/or available locally";
|
|
homepage = "https://github.com/davidosomething/git-my";
|
|
license = licenses.free;
|
|
maintainers = with maintainers; [ bb010g ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|