2017-05-01 23:34:53 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
|
2016-08-23 00:44:27 +02:00
|
|
|
|
2014-09-15 21:54:02 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "terminology-${version}";
|
2017-01-25 03:02:12 +01:00
|
|
|
version = "1.0.0";
|
2016-08-23 00:44:27 +02:00
|
|
|
|
2014-09-15 21:54:02 +02:00
|
|
|
src = fetchurl {
|
2016-01-23 23:04:22 +01:00
|
|
|
url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
|
2017-01-25 03:02:12 +01:00
|
|
|
sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz";
|
2014-09-15 21:54:02 +02:00
|
|
|
};
|
2016-08-23 00:44:27 +02:00
|
|
|
|
2017-05-01 23:34:53 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
2016-08-23 00:44:27 +02:00
|
|
|
|
2017-05-01 23:34:53 +02:00
|
|
|
buildInputs = [ efl curl ];
|
2016-08-23 00:44:27 +02: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 23:34:53 +02:00
|
|
|
postInstall = ''
|
|
|
|
for f in $out/bin/*; do
|
|
|
|
wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2014-09-15 21:54:02 +02: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 03:02:12 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 21:54:02 +02:00
|
|
|
};
|
|
|
|
}
|