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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
671 B
Nix
Raw Normal View History

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