Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchurl 4, fetchpatch 5, libpng 6, libjpeg 7, libtiff 8, zlib 9, bzip2 10, libGL 11, libGLU 12, libXcursor 13, libXext 14, libXrandr 15, libXft 16, CoreServices 17}: 18 19stdenv.mkDerivation rec { 20 pname = "fox"; 21 version = "1.7.81"; 22 23 src = fetchurl { 24 url = "http://fox-toolkit.org/ftp/${pname}-${version}.tar.gz"; 25 sha256 = "sha256-bu+IEqNkv9OAf96dPYre3CP759pjalVIbYyc3QSQW2w="; 26 }; 27 28 buildInputs = [ libpng libjpeg libtiff zlib bzip2 libGL libGLU libXcursor libXext libXrandr libXft ] 29 ++ lib.optional stdenv.isDarwin CoreServices; 30 31 doCheck = true; 32 33 enableParallelBuilding = true; 34 35 hardeningDisable = [ "format" ]; 36 37 meta = with lib; { 38 description = "C++ based class library for building Graphical User Interfaces"; 39 longDescription = '' 40 FOX stands for Free Objects for X. 41 It is a C++ based class library for building Graphical User Interfaces. 42 Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious. 43 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. 44 ''; 45 homepage = "http://fox-toolkit.org"; 46 license = licenses.lgpl3Plus; 47 maintainers = []; 48 platforms = platforms.all; 49 }; 50}