2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv
|
2019-10-20 18:01:29 -07:00
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, zlib
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libpng
|
|
|
|
, freeglut
|
|
|
|
}:
|
2019-07-09 11:32:13 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gl2ps";
|
2019-10-20 18:01:29 -07:00
|
|
|
version = "1.4.2";
|
2019-07-09 11:32:13 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz";
|
2020-05-05 03:38:47 -07:00
|
|
|
sha256 = "1sgzv547h7hrskb9qd0x5yp45kmhvibjwj2mfswv95lg070h074d";
|
2019-07-09 11:32:13 -07:00
|
|
|
};
|
|
|
|
|
2019-10-20 18:01:29 -07:00
|
|
|
nativeBuildInputs = [
|
2019-07-09 11:32:13 -07:00
|
|
|
cmake
|
2019-10-20 18:01:29 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-07-09 11:32:13 -07:00
|
|
|
zlib
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libpng
|
|
|
|
freeglut
|
|
|
|
];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-04-05 11:05:33 -07:00
|
|
|
homepage = "http://geuz.org/gl2ps";
|
2019-07-09 11:32:13 -07:00
|
|
|
description = "An OpenGL to PostScript printing library";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [raskin twhitehead];
|
|
|
|
};
|
|
|
|
}
|