nixpkgs/pkgs/desktops/e17/ecore/default.nix

31 lines
1.3 KiB
Nix
Raw Normal View History

{ 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
};
}