diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-26 11:06:45 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-27 00:54:52 +0000 |
commit | 3d6dd9b4afb10ae8bf05f802922baef6fea516d8 (patch) | |
tree | 2d2d142cf9e27c81a11aca7f06885f7278a0ed9a /pkgs/tools/wayland/stacktile | |
parent | 37e5c71d873aeadb8534cd76e19e9ae0a8a6ffc9 (diff) |
stacktile: init at 1.0.0
Diffstat (limited to 'pkgs/tools/wayland/stacktile')
-rw-r--r-- | pkgs/tools/wayland/stacktile/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/stacktile/default.nix b/pkgs/tools/wayland/stacktile/default.nix new file mode 100644 index 0000000000000..073794e42b989 --- /dev/null +++ b/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; + }; +}) |