diff options
author | Sigmanificient <edhyjox@gmail.com> | 2024-05-15 05:48:56 +0200 |
---|---|---|
committer | Sigmanificient <edhyjox@gmail.com> | 2024-05-15 09:21:58 +0200 |
commit | 4e7ef76a3a3f8586f25a3142a75c689795747415 (patch) | |
tree | c9771ec8f8491836817f067f060da23a4f0d425e /pkgs/by-name/gi | |
parent | 58cba5ba799cba407d717653f3e2b4c503fa2274 (diff) |
git-standup: modenize, migrate to by-name
git-standup: remove from top-level
Diffstat (limited to 'pkgs/by-name/gi')
-rw-r--r-- | pkgs/by-name/gi/git-standup/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/git-standup/package.nix b/pkgs/by-name/gi/git-standup/package.nix new file mode 100644 index 0000000000000..d40d100869ee8 --- /dev/null +++ b/pkgs/by-name/gi/git-standup/package.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, makeWrapper, git }: + +stdenv.mkDerivation (finalAttrs: { + pname = "git-standup"; + version = "2.3.2"; + + src = fetchFromGitHub { + owner = "kamranahmedse"; + repo = "git-standup"; + rev = finalAttrs.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 = { + description = "Recall what you did on the last working day"; + homepage = "https://github.com/kamranahmedse/git-standup"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ sigmanificient ]; + platforms = lib.platforms.all; + mainProgram = "git-standup"; + }; +}) |