nixpkgs/pkgs/tools/misc/fondu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
690 B
Nix
Raw Permalink Normal View History

2022-10-17 12:26:56 +02:00
{ lib, stdenv, fetchurl, CoreServices }:
2016-05-28 20:06:10 +02:00
stdenv.mkDerivation rec {
version = "060102";
pname = "fondu";
2016-08-04 09:30:30 +02:00
2016-05-28 20:06:10 +02:00
src = fetchurl {
url = "http://fondu.sourceforge.net/fondu_src-${version}.tgz";
sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2";
};
2016-08-04 09:30:30 +02:00
2022-10-17 12:26:56 +02:00
postConfigure = lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices"
'';
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
makeFlags = [ "DESTDIR=$(out)" ];
2016-08-04 09:30:30 +02:00
hardeningDisable = [ "fortify" ];
meta = {
2021-01-15 10:19:50 +01:00
platforms = lib.platforms.unix;
license = lib.licenses.gpl3;
};
2016-05-28 20:06:10 +02:00
}