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