2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2022-12-17 10:02:37 +00:00
|
|
|
, fetchpatch
|
2022-10-30 15:09:59 +00:00
|
|
|
, libpng
|
|
|
|
, libjpeg
|
|
|
|
, libtiff
|
|
|
|
, zlib
|
|
|
|
, bzip2
|
2022-12-17 10:02:37 +00:00
|
|
|
, libGL
|
|
|
|
, libGLU
|
2022-10-30 15:09:59 +00:00
|
|
|
, libXcursor
|
|
|
|
, libXext
|
|
|
|
, libXrandr
|
|
|
|
, libXft
|
2022-12-17 10:02:37 +00:00
|
|
|
, CoreServices
|
2022-10-30 15:09:59 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fox";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "1.7.81";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-12-17 10:02:37 +00:00
|
|
|
url = "http://fox-toolkit.org/ftp/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "sha256-bu+IEqNkv9OAf96dPYre3CP759pjalVIbYyc3QSQW2w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = [ libpng libjpeg libtiff zlib bzip2 libGL libGLU libXcursor libXext libXrandr libXft ]
|
2021-02-05 17:12:51 +00:00
|
|
|
++ lib.optional stdenv.isDarwin CoreServices;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2022-12-17 10:02:37 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|