nixpkgs/pkgs/desktops/enlightenment/terminology.nix

39 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
2016-08-22 23:44:27 +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
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
2017-08-22 19:13:17 +01:00
sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb";
};
2016-08-22 23:44:27 +01:00
nativeBuildInputs = [ pkgconfig makeWrapper ];
2016-08-22 23:44:27 +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"
];
postInstall = ''
for f in $out/bin/*; do
wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib
done
'';
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 ];
};
}