gitstats: stay with python2

This commit is contained in:
Frederik Rietdijk 2021-03-25 15:32:01 +01:00
parent ee258981bf
commit 5c8e424b84

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, perl, python, gnuplot, coreutils, gnugrep }:
{ lib, stdenv, fetchzip, perl, python2, gnuplot, coreutils, gnugrep }:
stdenv.mkDerivation rec {
pname = "gitstats";
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
name = "${pname}-${version}" + "-src";
};
buildInputs = [ perl python ];
nativeBuildInputs = [ perl ];
buildInputs = [ python2 ];
strictDeps = true;
postPatch = ''
sed -e "s|gnuplot_cmd = .*|gnuplot_cmd = '${gnuplot}/bin/gnuplot'|" \