2014-09-15 20:54:02 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, e19, libcap, gdbm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elementary-${version}";
|
2015-03-02 22:22:15 +00:00
|
|
|
version = "1.13.1";
|
2014-09-15 20:54:02 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/libs/elementary/${name}.tar.gz";
|
2015-03-02 22:22:15 +00:00
|
|
|
sha256 = "0jfbw48krpzcj944rvyy1rmq7cykad6cwhjh54fhp52lh7c5savk";
|
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;
|
|
|
|
};
|
|
|
|
}
|