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.
32 lines
772 B
Nix
32 lines
772 B
Nix
{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "git-standup";
|
|
version = "2.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kamranahmedse";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1xnn0jjha56v7l2vj45zzxncl6m5x2hq6nkffgc1bcikhp1pidn7";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -Dm755 -t $out/bin git-standup
|
|
|
|
wrapProgram $out/bin/git-standup \
|
|
--prefix PATH : "${lib.makeBinPath [ git ]}"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Recall what you did on the last working day";
|
|
homepage = "https://github.com/kamranahmedse/git-standup";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|