aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/gl2ps/default.nix
blob: 85a9944fcf7bc6d964461ae32383d8ecd7c08077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, cmake
, zlib, libGL, libGLU, libpng, freeglut }:

stdenv.mkDerivation rec {
  version = "1.4.2";
  pname = "gl2ps";

  src = fetchurl {
    url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz";
    sha256 = "1sgzv547h7hrskb9qd0x5yp45kmhvibjwj2mfswv95lg070h074d";
  };

  buildInputs = [
    cmake
    zlib
    libGL
    libGLU
    libpng
    freeglut
  ];

  meta = with stdenv.lib; {
    homepage = "http://geuz.org/gl2ps";
    description = "An OpenGL to PostScript printing library";
    platforms = platforms.all;
    license = licenses.lgpl2;
    maintainers = with maintainers; [raskin twhitehead];
  };
}