about summary refs log tree commit diff
path: root/pkgs/tools/wayland/stacktile/default.nix
blob: 073794e42b989b1048407c420c2f33f9da6eacfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
  };
})