diff --git a/lib/maintainers.nix b/lib/maintainers.nix index d02e2cec53d5..e64ecce1b4e3 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -147,6 +147,7 @@ skeidel = "Sven Keidel "; smironov = "Sergey Mironov "; sprock = "Roger Mason "; + spwhitt = "Spencer Whitt "; sztupi = "Attila Sztupak "; tailhook = "Paul Colomiets "; thammers = "Tobias Hammerschmidt "; diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index 4cabe3a4e2ab..71fb75a21576 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -99,4 +99,6 @@ rec { git-remote-hg = callPackage ./git-remote-hg { }; gitRemoteGcrypt = callPackage ./git-remote-gcrypt { }; + + git-extras = callPackage ./git-extras { }; } diff --git a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix new file mode 100644 index 000000000000..3392c1c00217 --- /dev/null +++ b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "git-extras-${version}"; + version = "2.2.0"; + + src = fetchurl { + url = "https://github.com/tj/git-extras/archive/${version}.tar.gz"; + sha256 = "0qwgaj0r9lsmwricpnma9rm7llfrcqarcfk5iq3ilxkns8a334va"; + }; + + 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; + maintainers = [ maintainers.spwhitt ]; + }; +}