glpng: init at 1.46

This commit is contained in:
AndersonTorres 2021-03-15 19:24:50 -03:00
parent b0872a839a
commit 5d0b55cc00
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromRepoOrCz
, cmake
, libGL
, libpng
, pkg-config
, zlib
}:
stdenv.mkDerivation rec {
pname = "glpng";
version = "1.46";
src = fetchFromRepoOrCz {
repo = "glpng";
rev = "v${version}";
hash = "sha256-C7EHaBN0PE/HJB6zcIaYU63+o7/MEz4WU1xr/kIOanM=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libGL
libpng
zlib
];
meta = with lib; {
homepage = "https://repo.or.cz/glpng.git/blob_plain/HEAD:/glpng.htm";
description = "PNG loader for OpenGL";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}

View File

@ -17644,6 +17644,8 @@ in
zziplib = callPackage ../development/libraries/zziplib { };
glpng = callPackage ../development/libraries/glpng { };
gsignond = callPackage ../development/libraries/gsignond {
plugins = [];
};