2016-03-11 23:54:09 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, libcap, automake, autoconf, libdrm, gdbm }:
|
2014-09-15 20:54:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elementary-${version}";
|
2016-05-28 13:54:32 +01:00
|
|
|
version = "1.17.1";
|
2014-09-15 20:54:02 +01:00
|
|
|
src = fetchurl {
|
2016-01-23 22:04:22 +00:00
|
|
|
url = "http://download.enlightenment.org/rel/libs/elementary/${name}.tar.xz";
|
2016-05-28 13:54:32 +01:00
|
|
|
sha256 = "149xjq4z71l44w1kd8zks9b2g0wjc9656w46hzd27b58afj1dqc5";
|
2014-09-15 20:54:02 +01:00
|
|
|
};
|
2016-05-28 13:54:32 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf ];
|
|
|
|
buildInputs = [ efl libdrm gdbm ] ++ stdenv.lib.optionals stdenv.isLinux [ libcap ];
|
2016-04-16 18:35:45 +01:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${libdrm.dev}/include/libdrm" ];
|
2015-05-16 15:42:40 +01:00
|
|
|
patches = [ ./elementary.patch ];
|
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/;
|
2015-05-16 15:42:40 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 20:54:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|