2014-11-25 21:40:25 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "git-extras-${version}";
|
2016-10-09 11:37:22 +01:00
|
|
|
version = "4.2.0";
|
2014-11-25 21:40:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
|
2016-10-09 11:37:22 +01:00
|
|
|
sha256 = "0pr2vf5rajkwjm45zvnwkc13kvk3kyr18axxvmm8drsqdkr8lrjk";
|
2014-11-25 21:40:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
makeFlags = "DESTDIR=$(out) PREFIX=";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/tj/git-extras;
|
|
|
|
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2016-06-25 13:21:16 +01:00
|
|
|
maintainers = [ maintainers.spwhitt maintainers.cko ];
|
2014-11-25 21:40:25 +00:00
|
|
|
};
|
|
|
|
}
|