epoxy: 1.2 -> 1.3.1

This commit is contained in:
William A. Kennington III 2015-08-13 15:00:18 -07:00
parent 952def0e3c
commit 0bbe804f0a

View File

@ -1,24 +1,20 @@
{ stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11
, mesa, pkgconfig, python, utilmacros
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, utilmacros, python
, mesa, libX11
}:
stdenv.mkDerivation rec {
name = "epoxy-${version}";
version = "1.2";
version = "1.3.1";
src = fetchurl {
url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz";
sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2";
src = fetchFromGitHub {
owner = "anholt";
repo = "libepoxy";
rev = "v${version}";
sha256 = "0dfkd4xbp7v5gwsf6qwaraz54yzizf3lj5ymyc0msjn0adq3j5yl";
};
buildInputs = [
autoconf autogen automake gettext libX11 mesa pkgconfig python
utilmacros
];
configureScript = ''
./autogen.sh --prefix="$out"
'';
nativeBuildInputs = [ autoreconfHook pkgconfig utilmacros python ];
buildInputs = [ mesa libX11 ];
meta = with stdenv.lib; {
description = "A library for handling OpenGL function pointer management";