mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 02:14:36 +00:00
30 lines
633 B
Nix
30 lines
633 B
Nix
|
{ stdenv, fetchurl, cmake
|
||
|
, zlib, libGL, libGLU, libpng, freeglut }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
version = "1.4.0";
|
||
|
name = "gl2ps-${version}";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://geuz.org/gl2ps/src/${name}.tgz";
|
||
|
sha256 = "1qpidkz8x3bxqf69hlhyz1m0jmfi9kq24fxsp7rq6wfqzinmxjq3";
|
||
|
};
|
||
|
|
||
|
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];
|
||
|
};
|
||
|
}
|