summary refs log tree commit diff
path: root/pkgs/desktops/e17/ecore/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/e17/ecore/default.nix')
-rw-r--r--pkgs/desktops/e17/ecore/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/desktops/e17/ecore/default.nix b/pkgs/desktops/e17/ecore/default.nix
new file mode 100644
index 000000000000..004d708070c3
--- /dev/null
+++ b/pkgs/desktops/e17/ecore/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, pkgconfig, eina, evas, libX11, libXext }:
+stdenv.mkDerivation rec {
+  name = "ecore-${version}";
+  version = "1.0.1";
+  src = fetchurl {
+    url = "http://download.enlightenment.org/releases/${name}.tar.gz";
+    sha256 = "1vi03zxnsdnrjv1rh5r3v0si0b20ikrfb8hf5374i2sqvi1g65j0";
+  };
+  buildInputs = [ pkgconfig eina evas ];
+  propagatedBuildInputs = [ libX11 libXext ];
+  meta = {
+    description = "Enlightenment's core mainloop, display abstraction and utility library";
+    longDescription = ''
+      Enlightenment's Ecore is a clean and tiny event loop library
+      with many modules to do lots of convenient things for a
+      programmer, to save time and effort.
+
+      It's small and lean, designed to work on embedded systems all
+      the way to large and powerful multi-cpu workstations. It
+      serialises all system signals, events etc. into a single event
+      queue, that is easily processed without needing to worry about
+      concurrency. A properly written, event-driven program using this
+      kind of programming doesn't need threads, nor has to worry about
+      concurrency. It turns a program into a state machine, and makes
+      it very robust and easy to follow.
+    '';
+    homepage = http://enlightenment.org/;
+    license = stdenv.lib.licenses.bsd2;  # not sure
+  };
+}