Files
2026-07-15 14:04:39 -04:00

57 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromSourcehut,
fetchpatch,
wayland,
wayland-scanner,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "stacktile";
version = "1.0.0";
src = fetchFromSourcehut {
owner = "~leon_plickat";
repo = "stacktile";
rev = "v${finalAttrs.version}";
hash = "sha256-IOFxgYMjh92jx2CPfBRZDL/1ucgfHtUyAL5rS2EG+Gc=";
};
patches = [
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-compilation.patch?h=stacktile&id=388a522b69e34c01cc5d57341d8578470a7dccfb";
hash = "sha256-y5ArQyjIqT2ICmm8ZYDHZ04DwGgw2d7wsgoH5XJPZf0=";
})
];
outputs = [
"out"
"man"
];
nativeBuildInputs = [
wayland-scanner
];
buildInputs = [
wayland
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"MANDIR=${placeholder "man"}/share/man"
];
strictDeps = true;
meta = {
homepage = "https://sr.ht/~leon_plickat/stacktile/";
description = "Layout generator for the river Wayland compositor";
license = lib.licenses.gpl3Plus;
mainProgram = "stacktile";
maintainers = [ ];
platforms = lib.platforms.linux;
};
})