nixpkgs-suyu/pkgs/desktops/enlightenment/terminology.nix

39 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
2016-08-23 00:44:27 +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
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
2017-01-25 03:02:12 +01:00
sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz";
};
2016-08-23 00:44:27 +02:00
nativeBuildInputs = [ pkgconfig makeWrapper ];
2016-08-23 00:44:27 +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"
];
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 03:02:12 +01:00
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
};
}