1 { lib, stdenv, fetchurl, CoreServices }:
3 stdenv.mkDerivation rec {
8 url = "http://fondu.sourceforge.net/fondu_src-${version}.tgz";
9 sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2";
12 postConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
13 substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices"
16 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
18 makeFlags = [ "DESTDIR=$(out)" ];
20 hardeningDisable = [ "fortify" ];
23 platforms = lib.platforms.unix;
24 license = lib.licenses.gpl3;