at 23.05-pre 50 lines 1.4 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, libpng 5, libjpeg 6, libtiff 7, zlib 8, bzip2 9, libXcursor 10, libXext 11, libXrandr 12, libXft 13, CoreServices ? null 14}: 15 16stdenv.mkDerivation rec { 17 pname = "fox"; 18 version = "1.7.9"; 19 20 src = fetchurl { 21 url = "ftp://ftp.fox-toolkit.org/pub/${pname}-${version}.tar.gz"; 22 sha256 = "1jb9368xsin3ppdf6979n5s7in3s9klbxqbwcp0z8misjixl7nzg"; 23 }; 24 25 patches = [ ./clang.patch ]; 26 27 buildInputs = [ libpng libjpeg libtiff zlib bzip2 libXcursor libXext libXrandr libXft ] 28 ++ lib.optional stdenv.isDarwin CoreServices; 29 30 doCheck = true; 31 32 enableParallelBuilding = true; 33 34 hardeningDisable = [ "format" ]; 35 36 meta = with lib; { 37 description = "C++ based class library for building Graphical User Interfaces"; 38 longDescription = '' 39 FOX stands for Free Objects for X. 40 It is a C++ based class library for building Graphical User Interfaces. 41 Initially, it was developed for LINUX, but the scope of this project has in the course of time become somewhat more ambitious. 42 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. 43 ''; 44 homepage = "http://fox-toolkit.org"; 45 license = licenses.lgpl3; 46 maintainers = []; 47 broken = stdenv.isDarwin && stdenv.isAarch64; 48 platforms = platforms.all; 49 }; 50}