nixpkgs/pkgs/development/libraries/gl2ps/default.nix

30 lines
637 B
Nix
Raw Normal View History

2019-07-09 18:32:13 +00:00
{ stdenv, fetchurl, cmake
, zlib, libGL, libGLU, libpng, freeglut }:
stdenv.mkDerivation rec {
2020-04-05 18:05:33 +00:00
version = "1.4.1";
pname = "gl2ps";
2019-07-09 18:32:13 +00:00
src = fetchurl {
url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz";
2020-04-05 18:05:33 +00:00
sha256 = "0fsx5lh9pz1xswr4yng24j4ngiijnanksbgz05bfzkh07m5h6qkk";
2019-07-09 18:32:13 +00:00
};
buildInputs = [
cmake
zlib
libGL
libGLU
libpng
freeglut
];
meta = with stdenv.lib; {
2020-04-05 18:05:33 +00:00
homepage = "http://geuz.org/gl2ps";
2019-07-09 18:32:13 +00:00
description = "An OpenGL to PostScript printing library";
platforms = platforms.all;
license = licenses.lgpl2;
maintainers = with maintainers; [raskin twhitehead];
};
}