mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
7ffee4de3c
Use vanilla pkg-config to build EFL applications. The EFL library has a set of pkg-config files (*.pc) which uses private requirements. The default pkg-config setup on nixpkgs is patched to disable resolving those requirements. See http://bugs.freedesktop.org/show_bug.cgi?id=4738 for reference. As a consequence each package depending on efl has to explicitly set the search path in order to be able to find the corresponding header files. By using vanilla pkg-config this is not necessary (and this is the expected behaviour for pkg-config), allowing simpler nix expressions.
29 lines
859 B
Nix
29 lines
859 B
Nix
{ stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "terminology-${version}";
|
|
version = "1.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
|
|
sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb";
|
|
};
|
|
|
|
nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ];
|
|
|
|
buildInputs = [ efl pcre curl ];
|
|
|
|
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;
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
|
};
|
|
}
|