about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2020-05-07 10:52:52 -0300
committerGitHub <noreply@github.com>2020-05-07 10:52:52 -0300
commit9e1975bebd41ad0395ab2c36e70df2e9b2c147e0 (patch)
tree79572360edb61b1c62024bf4461fcae7188d6906 /pkgs/development/python-modules
parentf528989650f516f0eb722e2dfa508a170aebb8d8 (diff)
parent24b1e92d3dc5a69e039fe3b970894375c149de39 (diff)
downloadnixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar.gz
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar.bz2
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar.lz
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar.xz
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.tar.zst
nixlib-9e1975bebd41ad0395ab2c36e70df2e9b2c147e0.zip
Merge pull request #86519 from romildo/upd.efl
enlightenment.efl: 1.23.3 -> 1.24.0; new test module
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/python-efl/default.nix25
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-efl/default.nix b/pkgs/development/python-modules/python-efl/default.nix
index 0657c6277700..419b49064873 100644
--- a/pkgs/development/python-modules/python-efl/default.nix
+++ b/pkgs/development/python-modules/python-efl/default.nix
@@ -1,29 +1,40 @@
-{ stdenv, fetchurl, buildPythonPackage, pkgconfig, python, enlightenment }:
+{ stdenv
+, fetchurl
+, buildPythonPackage
+, pkgconfig
+, python
+, dbus-python
+, enlightenment
+}:
 
 # Should be bumped along with EFL!
 
 buildPythonPackage rec {
   pname = "python-efl";
-  version = "1.23.0";
+  version = "1.24.0";
 
   src = fetchurl {
     url = "http://download.enlightenment.org/rel/bindings/python/${pname}-${version}.tar.xz";
-    sha256 = "16yn6a1b9167nfmryyi44ma40m20ansfpwgrvqzfvwix7qaz9pib";
+    sha256 = "1vk1cdd959gia4a9qzyq56a9zw3lqf9ck66k8c9g3c631mp5cfpy";
   };
 
   nativeBuildInputs = [ pkgconfig ];
 
   buildInputs = [ enlightenment.efl ];
 
-  propagatedBuildInputs = [ python.pkgs.dbus-python ];
+  propagatedBuildInputs = [ dbus-python ];
 
   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 evas) $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;