nixpkgs/pkgs/by-name/sc/scenefx/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

65 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
wlroots,
scdoc,
pkg-config,
wayland,
libdrm,
libxkbcommon,
pixman,
wayland-protocols,
libGL,
mesa,
validatePkgConfig,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "scenefx";
version = "0.1";
src = fetchFromGitHub {
owner = "wlrfx";
repo = "scenefx";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-vBmunqXwGbMNiGRd372TdMU4siWhIVYn5RVYne9C7uQ=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
validatePkgConfig
];
buildInputs = [
libdrm
libGL
libxkbcommon
mesa
pixman
wayland
wayland-protocols
wlroots
];
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;
maintainers = with lib.maintainers; [ eclairevoyant ];
mainProgram = "scenefx";
pkgConfigModules = [ "scenefx" ];
platforms = lib.platforms.all;
};
})