depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/git-standup/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

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;
};
}