3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/git-standup/default.nix

33 lines
772 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
2019-05-31 10:20:00 +01:00
stdenv.mkDerivation rec {
pname = "git-standup";
version = "2.3.2";
2019-05-31 10:20:00 +01:00
src = fetchFromGitHub {
owner = "kamranahmedse";
repo = pname;
rev = version;
sha256 = "1xnn0jjha56v7l2vj45zzxncl6m5x2hq6nkffgc1bcikhp1pidn7";
2019-05-31 10:20:00 +01:00
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
installPhase = ''
install -Dm755 -t $out/bin git-standup
wrapProgram $out/bin/git-standup \
2021-01-15 13:21:58 +00:00
--prefix PATH : "${lib.makeBinPath [ git ]}"
2019-05-31 10:20:00 +01:00
'';
meta = with lib; {
2019-05-31 10:20:00 +01:00
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;
};
}