at 23.05-pre 39 lines 671 B view raw
1{ lib, stdenv 2, fetchurl 3, cmake 4, zlib 5, libGL 6, libGLU 7, libpng 8, freeglut 9}: 10 11stdenv.mkDerivation rec { 12 pname = "gl2ps"; 13 version = "1.4.2"; 14 15 src = fetchurl { 16 url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz"; 17 sha256 = "1sgzv547h7hrskb9qd0x5yp45kmhvibjwj2mfswv95lg070h074d"; 18 }; 19 20 nativeBuildInputs = [ 21 cmake 22 ]; 23 24 buildInputs = [ 25 zlib 26 libGL 27 libGLU 28 libpng 29 freeglut 30 ]; 31 32 meta = with lib; { 33 homepage = "http://geuz.org/gl2ps"; 34 description = "An OpenGL to PostScript printing library"; 35 platforms = platforms.all; 36 license = licenses.lgpl2; 37 maintainers = with maintainers; [raskin twhitehead]; 38 }; 39}