Merge pull request #94815 from matthuszagh/gl2ps

gl2ps: make cmake a native build input
This commit is contained in:
worldofpeace 2020-08-06 19:54:33 -04:00 committed by GitHub
commit c08a2bfb20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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