From fdbd5e132315521df402ee85d6b51f9ed63a5e2c Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Tue, 25 Nov 2014 16:40:25 -0500 Subject: [PATCH] New package: git-extras --- lib/maintainers.nix | 1 + .../git-and-tools/default.nix | 2 ++ .../git-and-tools/git-extras/default.nix | 23 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/applications/version-management/git-and-tools/git-extras/default.nix 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 ]; + }; +}