mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
pythonPackages.pythonefl: format
This commit is contained in:
parent
5efa6f0c91
commit
5374042779
@ -1,4 +1,10 @@
|
|||||||
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, python, enlightenment }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, buildPythonPackage
|
||||||
|
, pkgconfig
|
||||||
|
, python
|
||||||
|
, enlightenment
|
||||||
|
}:
|
||||||
|
|
||||||
# Should be bumped along with EFL!
|
# Should be bumped along with EFL!
|
||||||
|
|
||||||
@ -18,12 +24,16 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ python.pkgs.dbus-python ];
|
propagatedBuildInputs = [ python.pkgs.dbus-python ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl) -I${stdenv.lib.getDev python.pkgs.dbus-python}/include/dbus-1.0 $NIX_CFLAGS_COMPILE"
|
NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl) -I${stdenv.lib.getDev python.pkgs.dbus-python}/include/dbus-1.0 $NIX_CFLAGS_COMPILE"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = "${python.interpreter} setup.py build_ext";
|
preBuild = ''
|
||||||
|
${python.interpreter} setup.py build_ext
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase= "${python.interpreter} setup.py install --prefix=$out";
|
installPhase = ''
|
||||||
|
${python.interpreter} setup.py install --prefix=$out
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user