diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2015-11-15 13:54:22 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-01-25 11:41:23 +0200 |
commit | 8581f4c19558199466940bb7cea412fce9a1cfee (patch) | |
tree | 8b3b7bafe6a7e474ff610df639e4a53da66b1a74 | |
parent | 2259442b15a61cef8d2bd64adb261bd27ec15d36 (diff) | |
download | patches-8581f4c19558199466940bb7cea412fce9a1cfee.tar patches-8581f4c19558199466940bb7cea412fce9a1cfee.tar.gz |
gnu: Add python-efl.
* gnu/packages/enlightenment.scm (python-efl, python2-efl): New variables.
-rw-r--r-- | gnu/packages/enlightenment.scm | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 3fec6c6fc7..7fbbaac071 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -23,6 +23,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages bash) #:use-module (gnu packages compression) @@ -41,9 +42,10 @@ #:use-module (gnu packages linux) #:use-module (gnu packages lua) #:use-module (gnu packages pdf) - #:use-module (gnu packages pulseaudio) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages python) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) @@ -306,3 +308,39 @@ file manager, wide range of configuration options, plugin system allowing to unload unused functionality, with support for touchscreen and suitable for embedded systems.") (license license:bsd-2))) + +(define-public python-efl + (package + (name "python-efl") + (version "1.16.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-efl" version)) + (sha256 + (base32 + "1ihay90agl2jx12m7jj8j1cspd7vsak1w7q95rhb6r2srkq0ppxk")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'build 'set-flags + (lambda _ + (setenv "CFLAGS" + (string-append "-I" (assoc-ref %build-inputs "python-dbus") + "/include/dbus-1.0"))))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("efl" ,efl) + ("elementary" ,elementary) + ("python-dbus" ,python-dbus))) + (home-page "https://www.enlightenment.org/") + (synopsis "Python bindings for EFL") + (description + "PYTHON-EFL are the python bindings for the whole Enlightenment Foundation +Libraries stack (eo, evas, ecore, edje, emotion, ethumb and elementary).") + (license license:lgpl3))) + +(define-public python2-efl + (package-with-python2 python-efl)) |