2013-02-10 17:23:45 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, eina, evas, libX11, libXext, libXrender
|
|
|
|
, libXcomposite, libXfixes, libXdamage }:
|
2011-09-26 23:28:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ecore-${version}";
|
2013-02-10 17:23:45 +00:00
|
|
|
version = "1.7.5";
|
2011-09-26 23:28:35 +01:00
|
|
|
src = fetchurl {
|
2012-03-25 14:50:39 +01:00
|
|
|
url = "http://download.enlightenment.org/releases/${name}.tar.bz2";
|
2013-02-10 17:23:45 +00:00
|
|
|
sha256 = "08ljda6p0zj1h5sq3l0js6mihw8cr6ydynn42dnka36vachvmfjb";
|
2011-09-26 23:28:35 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ pkgconfig eina evas ];
|
2013-02-10 17:23:45 +00:00
|
|
|
propagatedBuildInputs = [ libX11 libXext libXcomposite libXrender libXfixes
|
|
|
|
libXdamage
|
|
|
|
];
|
2011-09-26 23:28:35 +01:00
|
|
|
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
|
|
|
|
};
|
|
|
|
}
|