Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
meson,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
xorg,
|
|
libGL,
|
|
cairo,
|
|
glslang,
|
|
python3,
|
|
doxygen,
|
|
vulkan-loader,
|
|
vulkan-headers,
|
|
sphinx,
|
|
sphinxygen,
|
|
ninja,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pugl";
|
|
version = "0-unstable-2024-10-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lv2";
|
|
repo = "pugl";
|
|
rev = "edd13c1b952b16633861855fcdbdd164e87b3c0a";
|
|
hash = "sha256-s7uvA3F16VxJgaKlQWQP9rQtzzlD1NuebIgR5L3yHw4=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
python3
|
|
pkg-config
|
|
doxygen
|
|
glslang
|
|
sphinxygen
|
|
sphinx
|
|
python3.pkgs.sphinx-lv2-theme
|
|
];
|
|
|
|
buildInputs = [
|
|
xorg.libX11
|
|
xorg.libXcursor
|
|
xorg.libXrandr
|
|
libGL
|
|
vulkan-loader
|
|
vulkan-headers
|
|
xorg.libXext
|
|
cairo
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/lv2/pugl";
|
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.isc;
|
|
description = "Minimal portable API for embeddable GUIs";
|
|
};
|
|
})
|