2015-08-13 22:00:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, utilmacros, python
|
|
|
|
, mesa, libX11
|
2014-07-27 10:14:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "epoxy-${version}";
|
2015-08-13 22:00:18 +00:00
|
|
|
version = "1.3.1";
|
2014-07-27 10:14:38 +00:00
|
|
|
|
2015-08-13 22:00:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "anholt";
|
|
|
|
repo = "libepoxy";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0dfkd4xbp7v5gwsf6qwaraz54yzizf3lj5ymyc0msjn0adq3j5yl";
|
2014-07-27 10:14:38 +00:00
|
|
|
};
|
|
|
|
|
2015-08-13 22:00:18 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig utilmacros python ];
|
|
|
|
buildInputs = [ mesa libX11 ];
|
2014-07-27 10:14:38 +00:00
|
|
|
|
|
|
|
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 ];
|
2015-05-23 00:04:06 +00:00
|
|
|
platforms = platforms.unix;
|
2014-07-27 10:14:38 +00:00
|
|
|
};
|
|
|
|
}
|