blob: fe6ab396d139d572e2712765e553662dc5a02d61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, fetchurl, CoreServices }:
stdenv.mkDerivation rec {
version = "060102";
pname = "fondu";
src = fetchurl {
url = "http://fondu.sourceforge.net/fondu_src-${version}.tgz";
sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2";
};
postConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices"
'';
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
makeFlags = [ "DESTDIR=$(out)" ];
hardeningDisable = [ "fortify" ];
meta = {
platforms = lib.platforms.unix;
license = lib.licenses.gpl3;
};
}
|