3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #9714 from kamilchm/git-radar

git-radar: init at 0.3.2
This commit is contained in:
Peter Simons 2015-09-08 10:03:14 +02:00
commit a030a7284e
3 changed files with 34 additions and 1 deletions

View file

@ -96,6 +96,8 @@ rec {
gitflow = callPackage ./gitflow { };
git-radar = callPackage ./git-radar { };
git-remote-hg = callPackage ./git-remote-hg { };
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };

View file

@ -0,0 +1,31 @@
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "git-radar-${version}";
version = "0.3.2";
phases = [ "unpackPhase" "installPhase" ];
dontInstallSrc = true;
src = fetchFromGitHub {
owner = "michaeldfallen";
repo = "git-radar";
rev = "v${version}";
sha256 = "1028462b4kqxx66vjv7r8nnr6bi3kw11fixpqyg2srqriha6447p";
};
installPhase = ''
mkdir -p $out/bin
cp git-radar fetch.sh prompt.bash prompt.zsh radar-base.sh $out
ln -s $out/git-radar $out/bin
'';
meta = with stdenv.lib; {
homepage = https://github.com/michaeldfallen/git-radar;
license = licenses.mit;
description = "Git-radar is a tool you can add to your prompt to provide at-a-glance information on your git repo.";
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ kamilchm ];
};
}

View file

@ -11601,7 +11601,7 @@ let
inherit pkgs;
});
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git;
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar;
gitMinimal = git.override {
withManual = false;