diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/epoxy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/epoxy/default.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/nixpkgs/pkgs/development/libraries/epoxy/default.nix b/nixpkgs/pkgs/development/libraries/epoxy/default.nix deleted file mode 100644 index 7ae0e73953f4..000000000000 --- a/nixpkgs/pkgs/development/libraries/epoxy/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, utilmacros, python3 -, libGL, libX11 -}: - -with lib; - -stdenv.mkDerivation rec { - pname = "epoxy"; - version = "1.5.4"; - - src = fetchFromGitHub { - owner = "anholt"; - repo = "libepoxy"; - rev = version; - sha256 = "0rmg0qlswn250h0arx434jh3hwzsr95lawanpmh1czsfvrcx59l6"; - }; - - outputs = [ "out" "dev" ]; - - nativeBuildInputs = [ autoreconfHook pkg-config utilmacros python3 ]; - buildInputs = [ libGL libX11 ]; - - preConfigure = optionalString stdenv.isDarwin '' - substituteInPlace configure --replace build_glx=no build_glx=yes - substituteInPlace src/dispatch_common.h --replace "PLATFORM_HAS_GLX 0" "PLATFORM_HAS_GLX 1" - ''; - - patches = [ ./libgl-path.patch ]; - - NIX_CFLAGS_COMPILE = ''-DLIBGL_PATH="${getLib libGL}/lib"''; - - doCheck = false; # needs X11 - - meta = { - description = "A library for handling OpenGL function pointer management"; - homepage = "https://github.com/anholt/libepoxy"; - license = licenses.mit; - maintainers = [ maintainers.goibhniu ]; - platforms = platforms.unix; - }; -} |