2017-05-01 22:34:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
|
2016-08-22 23:44:27 +01:00
|
|
|
|
2014-09-15 20:54:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "terminology-${version}";
|
2017-08-22 19:13:17 +01:00
|
|
|
version = "1.1.0";
|
2016-08-22 23:44:27 +01:00
|
|
|
|
2014-09-15 20:54:02 +01:00
|
|
|
src = fetchurl {
|
2016-01-23 22:04:22 +00:00
|
|
|
url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
|
2017-08-22 19:13:17 +01:00
|
|
|
sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb";
|
2014-09-15 20:54:02 +01:00
|
|
|
};
|
2016-08-22 23:44:27 +01:00
|
|
|
|
2017-05-01 22:34:53 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
2016-08-22 23:44:27 +01:00
|
|
|
|
2017-05-01 22:34:53 +01:00
|
|
|
buildInputs = [ efl curl ];
|
2016-08-22 23:44:27 +01:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-I${efl}/include/ecore-con-1"
|
|
|
|
"-I${efl}/include/eldbus-1"
|
|
|
|
"-I${efl}/include/elocation-1"
|
|
|
|
"-I${efl}/include/emile-1"
|
|
|
|
"-I${efl}/include/eo-1"
|
|
|
|
"-I${efl}/include/ethumb-1"
|
|
|
|
];
|
|
|
|
|
2017-05-01 22:34:53 +01:00
|
|
|
postInstall = ''
|
|
|
|
for f in $out/bin/*; do
|
|
|
|
wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2014-09-15 20:54:02 +01:00
|
|
|
meta = {
|
|
|
|
description = "The best terminal emulator written with the EFL";
|
|
|
|
homepage = http://enlightenment.org/;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2017-01-25 02:02:12 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 20:54:02 +01:00
|
|
|
};
|
|
|
|
}
|