2024-09-09 07:56:54 +00:00
|
|
|
{ stdenv
|
2023-03-20 17:43:18 +00:00
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
2024-09-09 07:56:54 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2023-03-20 17:43:18 +00:00
|
|
|
}:
|
|
|
|
|
2024-09-09 07:56:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-03-20 17:43:18 +00:00
|
|
|
pname = "eglexternalplatform";
|
2024-09-09 07:56:54 +00:00
|
|
|
version = "1.2";
|
2023-03-20 17:43:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nvidia";
|
|
|
|
repo = "eglexternalplatform";
|
2024-09-09 07:56:54 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-t0dka5aUv5hB4G8PbSGiIY74XIFAsmo5a7dfWb2QCLM=";
|
2023-03-20 17:43:18 +00:00
|
|
|
};
|
|
|
|
|
2024-09-09 07:56:54 +00:00
|
|
|
nativeBuildInputs = [ meson ninja ];
|
2023-03-20 17:43:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "EGL External Platform interface";
|
|
|
|
homepage = "https://github.com/NVIDIA/eglexternalplatform";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ hedning ];
|
|
|
|
};
|
|
|
|
}
|