1 { lib, stdenv, fetchFromGitHub, makeWrapper, git }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
8 owner = "kamranahmedse";
10 rev = finalAttrs.version;
11 hash = "sha256-x7Z4w4UzshXYc25ag6HopRrKbP+/ELkFPdsUBaUE1vY=";
14 nativeBuildInputs = [ makeWrapper ];
19 install -Dm755 -t $out/bin git-standup
21 wrapProgram $out/bin/git-standup \
22 --prefix PATH : "${lib.makeBinPath [ git ]}"
26 description = "Recall what you did on the last working day";
27 homepage = "https://github.com/kamranahmedse/git-standup";
28 changelog = "https://github.com/kamranahmedse/git-standup/releases/tag/${finalAttrs.src.rev}";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ sigmanificient ];
31 platforms = lib.platforms.all;
32 mainProgram = "git-standup";