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

30 lines
778 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub}:
2015-09-08 07:38:28 +01:00
stdenv.mkDerivation rec {
pname = "git-radar";
version = "0.6";
2015-09-08 07:38:28 +01:00
src = fetchFromGitHub {
owner = "michaeldfallen";
repo = "git-radar";
rev = "v${version}";
sha256 = "0c3zp8s4w7m4s71qgwk1jyfc8yzw34f2hi43x1w437ypgabwg81j";
2015-09-08 07:38:28 +01:00
};
dontBuild = true;
2015-09-08 07:38:28 +01:00
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 lib; {
homepage = "https://github.com/michaeldfallen/git-radar";
2015-09-08 07:38:28 +01:00
license = licenses.mit;
2017-04-02 03:30:23 +01:00
description = "A tool you can add to your prompt to provide at-a-glance information on your git repo";
2015-09-08 07:38:28 +01:00
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ kamilchm ];
};
}