···2828 "--disable-precomp-headers"
2929 (if unicode then "--enable-unicode" else "")
3030 "--enable-mediactrl"
3131+ "--enable-graphics_ctx"
3132 ] ++ optional withMesa "--with-opengl";
32333334 # These variables are used by configure to find some dependencies.
···11{ stdenv }:
2233-# this tool only exists on darwin
43assert stdenv.isDarwin;
44+/* this tool only exists on darwin
55+ NOTE: it might make sense to compile this from source (maybe it even works for non-darwin)
66+ I see cctools source is under GPL2+ as well as APSL 2.0
77+ http://opensource.apple.com/release/developer-tools-46/
88+*/
59610stdenv.mkDerivation {
711 name = "otool";
···2024 meta = with stdenv.lib; {
2125 description = "Object file displaying tool";
2226 homepage = https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/otool.1.html;
2323- license = licenses.unfree;
2727+ license = with licenses; [ apsl20 gpl2Plus ];
2428 maintainers = with maintainers; [ lovek323 ];
2529 platforms = platforms.darwin;
2630