glpng: init at 1.46
This commit is contained in:
parent
b0872a839a
commit
5d0b55cc00
38
pkgs/development/libraries/glpng/default.nix
Normal file
38
pkgs/development/libraries/glpng/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -17644,6 +17644,8 @@ in
|
||||
|
||||
zziplib = callPackage ../development/libraries/zziplib { };
|
||||
|
||||
glpng = callPackage ../development/libraries/glpng { };
|
||||
|
||||
gsignond = callPackage ../development/libraries/gsignond {
|
||||
plugins = [];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user