diff --git a/pkgs/development/tools/git-quick-stats/default.nix b/pkgs/development/tools/git-quick-stats/default.nix new file mode 100644 index 000000000000..bd41ae8e2ba6 --- /dev/null +++ b/pkgs/development/tools/git-quick-stats/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchFromGitHub }: +stdenv.mkDerivation rec { + name = "git-quick-stats-${version}"; + version = "2.0.8"; + src = fetchFromGitHub { + repo = "git-quick-stats"; + owner = "arzzen"; + rev = "${version}"; + sha256 = "1px1sk7b6mjnbclsr1jn33m9k4wd8wqyw4d6w1rgj0ii29lhzmqi"; + }; + installPhase = '' + PREFIX=$out make install + ''; + meta = with stdenv.lib; { + homepage = "https://github.com/arzzen/git-quick-stats"; + description = "A simple and efficient way to access various statistics in git repository"; + platforms = platforms.all; + maintainers = [ maintainers.kmein ]; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6e7513b717df..f78662300d86 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18047,6 +18047,8 @@ in python = python27; }; + git-quick-stats = callPackage ../development/tools/git-quick-stats {}; + git-review = callPackage ../applications/version-management/git-review { }; gitolite = callPackage ../applications/version-management/gitolite { };