diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/wayland/stacktile/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/wayland/stacktile/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/wayland/stacktile/default.nix b/nixpkgs/pkgs/tools/wayland/stacktile/default.nix new file mode 100644 index 000000000000..073794e42b98 --- /dev/null +++ b/nixpkgs/pkgs/tools/wayland/stacktile/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, fetchFromSourcehut +, 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="; + }; + + 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 = with lib.licenses; [ gpl3Plus ]; + mainProgram = "stacktile"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.linux; + }; +}) |