about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gitstats/default.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-12-01 23:14:20 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-12-03 18:42:30 -0300
commitf6feed1fd304731b3e39fec9fea4ab6327efc889 (patch)
tree1e613ea6ff0f86a5f8b6b04f6632f4e02537c250 /pkgs/applications/version-management/gitstats/default.nix
parent31087568fcac0066b5010e02a6734d5d27550ec0 (diff)
gitstats: move to git-and-tools
Diffstat (limited to 'pkgs/applications/version-management/gitstats/default.nix')
-rw-r--r--pkgs/applications/version-management/gitstats/default.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/applications/version-management/gitstats/default.nix b/pkgs/applications/version-management/gitstats/default.nix
deleted file mode 100644
index 6cfcb0077427f..0000000000000
--- a/pkgs/applications/version-management/gitstats/default.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, perl, python2, gnuplot, coreutils, gnugrep }:
-
-stdenv.mkDerivation rec {
-  pname = "gitstats";
-  version = "2016-01-08";
-
-  # upstream does not make releases
-  src = fetchFromGitHub {
-    owner = "hoxu";
-    repo = "gitstats";
-    rev = "55c5c285558c410bb35ebf421245d320ab9ee9fa";
-    sha256 = "sha256-qUQB3aCRbPkbMoMf39kPQ0vil8RjXL8RqjdTryfkzK0=";
-  };
-
-  nativeBuildInputs = [ perl ];
-
-  buildInputs = [ python2 ];
-
-  strictDeps = true;
-
-  postPatch = ''
-    sed -e "s|gnuplot_cmd = .*|gnuplot_cmd = '${gnuplot}/bin/gnuplot'|" \
-        -e "s|\<wc\>|${coreutils}/bin/wc|g" \
-        -e "s|\<grep\>|${gnugrep}/bin/grep|g" \
-        -i gitstats
-  '';
-
-  buildPhase = ''
-    make man VERSION="${version}"
-  '';
-
-  installPhase = ''
-    make install PREFIX="$out" VERSION="${version}"
-    install -Dm644 doc/gitstats.1 "$out"/share/man/man1/gitstats.1
-  '';
-
-  meta = with lib; {
-    homepage = "http://gitstats.sourceforge.net/";
-    description = "Git history statistics generator";
-    license = licenses.gpl2Plus;
-    platforms = platforms.all;
-    maintainers = [ maintainers.bjornfor ];
-  };
-}