git-bz: stay with python2
This commit is contained in:
parent
09b2a0c0af
commit
e5f9db3135
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib, stdenv, fetchgit
|
{ lib, stdenv, fetchgit
|
||||||
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
|
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
|
||||||
, pythonPackages }:
|
, python2Packages }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "git-bz";
|
pname = "git-bz";
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||||
asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
|
asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
|
||||||
];
|
];
|
||||||
buildInputs = []
|
buildInputs = []
|
||||||
++ (with pythonPackages; [ python pysqlite ]);
|
++ (with python2Packages; [ python pysqlite ]);
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs configure
|
patchShebangs configure
|
||||||
|
@ -27,8 +27,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/git-bz \
|
wrapProgram $out/bin/git-bz \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pycrypto}")" \
|
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pycrypto}")" \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath "${pythonPackages.pysqlite}")"
|
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pysqlite}")"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue