mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
honcho: native fixes
This commit is contained in:
parent
45e6cb3b76
commit
8e24aa9149
@ -18,19 +18,19 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "11bd87474qpif20xdcn0ra1idj5k16ka51i658wfpxwc6nzsn92b";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ jinja2 pytest mock coverage ];
|
||||
checkInputs = with pythonPackages; [ jinja2 pytest mock coverage ];
|
||||
|
||||
buildPhase = ''
|
||||
${python.interpreter} setup.py build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
||||
mkdir -p "$out/${python.sitePackages}"
|
||||
|
||||
export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
||||
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
|
||||
|
||||
${python}/bin/${python.executable} setup.py install \
|
||||
--install-lib=$out/lib/${python.libPrefix}/site-packages \
|
||||
${python.interpreter} setup.py install \
|
||||
--install-lib=$out/${python.sitePackages} \
|
||||
--prefix="$out"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user