2014-09-15 21:54:02 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, e19, libcap, gdbm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elementary-${version}";
|
2015-01-27 12:03:33 +01:00
|
|
|
version = "1.12.3";
|
2014-09-15 21:54:02 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/libs/elementary/${name}.tar.gz";
|
2015-01-27 12:03:33 +01:00
|
|
|
sha256 = "0ajljrr72rdz9hniqvsigw7p6dmpqnf0nijrxd2x91gx2cfrwksm";
|
2014-09-15 21:54:02 +02:00
|
|
|
};
|
|
|
|
buildInputs = [ pkgconfig e19.efl gdbm ] ++ stdenv.lib.optionals stdenv.isLinux [ libcap ];
|
|
|
|
preConfigure = ''
|
2015-01-27 12:03:33 +01:00
|
|
|
export NIX_CFLAGS_COMPILE="-I${e19.efl}/include/ethumb-1 -I${e19.efl}/include/efl-1 $NIX_CFLAGS_COMPILE"
|
2014-09-15 21:54:02 +02:00
|
|
|
'';
|
2014-12-28 11:40:01 +01:00
|
|
|
enableParallelBuilding = true;
|
2014-09-15 21:54:02 +02:00
|
|
|
meta = {
|
|
|
|
description = "Widget set/toolkit";
|
|
|
|
homepage = http://enlightenment.org/;
|
2014-10-19 14:58:04 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ];
|
2014-09-15 21:54:02 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|