30 lines
637 B
Nix
30 lines
637 B
Nix
|
{ stdenv, fetchurl, cmake
|
||
|
, zlib, libGL, libGLU, libpng, freeglut }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
version = "1.4.1";
|
||
|
pname = "gl2ps";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz";
|
||
|
sha256 = "0fsx5lh9pz1xswr4yng24j4ngiijnanksbgz05bfzkh07m5h6qkk";
|
||
|
};
|
||
|
|
||
|
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];
|
||
|
};
|
||
|
}
|