Files
nixpkgs/pkgs/development/libraries/fox/fox-1.6.nix
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00

68 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
libpng,
libjpeg,
libtiff,
zlib,
bzip2,
libXcursor,
libXrandr,
libGLU,
libGL,
libXext,
libXft,
libXfixes,
mesa,
xinput,
}:
stdenv.mkDerivation rec {
pname = "fox";
version = "1.6.57";
src = fetchurl {
url = "ftp://ftp.fox-toolkit.org/pub/${pname}-${version}.tar.gz";
sha256 = "08w98m6wjadraw1pi13igzagly4b2nfa57kdqdnkjfhgkvg1bvv5";
};
buildInputs = [
libpng
libjpeg
libtiff
zlib
bzip2
libXcursor
libXrandr
libXext
libXft
libGLU
libGL
libXfixes
xinput
];
doCheck = true;
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
meta = {
broken = stdenv.hostPlatform.isDarwin;
branch = "1.6";
description = "C++ based class library for building Graphical User Interfaces";
longDescription = ''
FOX stands for Free Objects for X.
It is a C++ based class library for building Graphical User Interfaces.
Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious.
Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
'';
homepage = "http://fox-toolkit.org";
license = lib.licenses.lgpl3;
maintainers = [ ];
inherit (mesa.meta) platforms;
};
}