mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
29 lines
743 B
Nix
29 lines
743 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, utilmacros, python
|
|
, mesa, libX11
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "epoxy-${version}";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anholt";
|
|
repo = "libepoxy";
|
|
rev = "v${version}";
|
|
sha256 = "0dfkd4xbp7v5gwsf6qwaraz54yzizf3lj5ymyc0msjn0adq3j5yl";
|
|
};
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig utilmacros python ];
|
|
buildInputs = [ mesa libX11 ];
|
|
|
|
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.unix;
|
|
};
|
|
}
|