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.2.0-alpha";
src = fetchurl {
url = "http://download.enlightenment.org/releases/${name}.tar.bz2";
sha256 = "1fq3prr2i9n14jppfpns3dg1mkk3iy0ijv2d47pm4krymd7l4hs4";
};
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
};
}