Merge master into staging-next
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchgit
|
||||
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
|
||||
, pythonPackages }:
|
||||
, python2Packages }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "git-bz";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
|
||||
];
|
||||
buildInputs = []
|
||||
++ (with pythonPackages; [ python pysqlite ]);
|
||||
++ (with python2Packages; [ python pysqlite ]);
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs configure
|
||||
@@ -27,8 +27,8 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/git-bz \
|
||||
--prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pycrypto}")" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pysqlite}")"
|
||||
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pycrypto}")" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pysqlite}")"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, fetchFromGitHub, pythonPackages }:
|
||||
{ lib, fetchFromGitHub, python2Packages }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python2Packages.buildPythonApplication rec {
|
||||
pname = "git-crecord";
|
||||
version = "20161216.0";
|
||||
|
||||
@@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "0v3y90zi43myyi4k7q3892dcrbyi9dn2q6xgk12nw9db9zil269i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ docutils ];
|
||||
propagatedBuildInputs = with python2Packages; [ docutils ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/andrewshadura/git-crecord";
|
||||
|
||||
@@ -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'|" \
|
||||
|
||||
Reference in New Issue
Block a user