1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 08:28:20 +00:00

Merge pull request #62303 from marsam/init-gitAndTools.git-standup

gitAndTools.git-standup: init at 2.3.1
This commit is contained in:
Maximilian Bosch 2019-06-01 02:50:37 +02:00 committed by GitHub
commit bf93cdca0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -113,6 +113,8 @@ let
git-secrets = callPackage ./git-secrets { };
git-standup = callPackage ./git-standup { };
git-stree = callPackage ./git-stree { };
git-sync = callPackage ./git-sync { };

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, makeWrapper, git }:
stdenv.mkDerivation rec {
pname = "git-standup";
version = "2.3.1";
src = fetchFromGitHub {
owner = "kamranahmedse";
repo = pname;
rev = version;
sha256 = "0wx9ypyxhpjbrasl6264jmj9fjrpg3gn93dg00cakabz3r7yxxq3";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
installPhase = ''
install -Dm755 -t $out/bin git-standup
wrapProgram $out/bin/git-standup \
--prefix PATH : "${stdenv.lib.makeBinPath [ git ]}"
'';
meta = with stdenv.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;
};
}