Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

73 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-04-29 15:06:28 -04:00
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
wlroots_0_19,
2024-04-29 15:06:28 -04:00
scdoc,
pkg-config,
wayland,
libdrm,
libxkbcommon,
pixman,
wayland-protocols,
libGL,
libgbm,
libxcb,
xcbutilwm,
2024-04-29 15:06:28 -04:00
validatePkgConfig,
testers,
2024-09-01 12:30:52 -04:00
wayland-scanner,
2024-04-29 15:06:28 -04:00
}:
stdenv.mkDerivation (finalAttrs: {
pname = "scenefx";
version = "0.4.1";
2024-04-29 15:06:28 -04:00
src = fetchFromGitHub {
owner = "wlrfx";
repo = "scenefx";
tag = finalAttrs.version;
hash = "sha256-XD5EcquaHBg5spsN06fPHAjVCb1vOMM7oxmjZZ/PxIE=";
2024-04-29 15:06:28 -04:00
};
strictDeps = true;
2024-09-01 12:30:52 -04:00
depsBuildBuild = [ pkg-config ];
2024-04-29 15:06:28 -04:00
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
validatePkgConfig
2024-09-01 12:30:52 -04:00
wayland-scanner
2024-04-29 15:06:28 -04:00
];
buildInputs = [
libdrm
libGL
libxkbcommon
libgbm
libxcb
xcbutilwm
2024-04-29 15:06:28 -04:00
pixman
wayland
wayland-protocols
wlroots_0_19
2024-04-29 15:06:28 -04:00
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
description = "Drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects";
homepage = "https://github.com/wlrfx/scenefx";
license = lib.licenses.mit;
2024-09-10 15:02:41 -04:00
maintainers = with lib.maintainers; [ ];
2024-04-29 15:06:28 -04:00
mainProgram = "scenefx";
pkgConfigModules = [ "scenefx" ];
platforms = lib.platforms.all;
};
})