gl2ps: make cmake a native build input

This commit is contained in:
Matt Huszagh 2019-10-20 18:01:29 -07:00
parent be66239cfa
commit deb0a6ce6e

View File

@ -1,17 +1,27 @@
{ stdenv, fetchurl, cmake
, zlib, libGL, libGLU, libpng, freeglut }:
{ stdenv
, fetchurl
, cmake
, zlib
, libGL
, libGLU
, libpng
, freeglut
}:
stdenv.mkDerivation rec {
version = "1.4.2";
pname = "gl2ps";
version = "1.4.2";
src = fetchurl {
url = "http://geuz.org/gl2ps/src/${pname}-${version}.tgz";
sha256 = "1sgzv547h7hrskb9qd0x5yp45kmhvibjwj2mfswv95lg070h074d";
};
buildInputs = [
nativeBuildInputs = [
cmake
];
buildInputs = [
zlib
libGL
libGLU