Add epoxy: A library for handling OpenGL function pointer management

This commit is contained in:
Cillian de Róiste 2014-07-27 12:14:38 +02:00
parent 0a750e0f39
commit e7bb85e448
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11
, mesa, pkgconfig, python, utilmacros
}:
stdenv.mkDerivation rec {
name = "epoxy-${version}";
version = "1.2";
src = fetchurl {
url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz";
sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2";
};
buildInputs = [
autoconf autogen automake gettext libX11 mesa pkgconfig python
utilmacros
];
configureScript = ''
./autogen.sh --prefix="$out"
'';
meta = with stdenv.lib; {
description = "A library for handling OpenGL function pointer management";
homepage = https://github.com/anholt/libepoxy;
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}

View file

@ -4421,6 +4421,10 @@ let
enginepkcs11 = callPackage ../development/libraries/enginepkcs11 { };
epoxy = callPackage ../development/libraries/epoxy {
inherit (xorg) utilmacros libX11;
};
esdl = callPackage ../development/libraries/esdl { };
exiv2 = callPackage ../development/libraries/exiv2 { };