about summary refs log tree commit diff
path: root/pkgs/by-name/sp/spatial-shell/package.nix
blob: 4b741f8aaec2babcd2a6fc8f3c521f5d5e239fe5 (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
{ lib
, ocamlPackages
, fetchFromGitHub
, scdoc
}:

ocamlPackages.buildDunePackage rec {
  pname = "spatial-shell";
  version = "7";

  src = fetchFromGitHub {
    owner = "lthms";
    repo = "spatial-shell";
    rev = version;
    hash = "sha256-OeNBP/jea1ABh/WpvCP7We+L20WoTfLZH71raH7bKPI=";
  };

  nativeBuildInputs = [
    scdoc
  ];

  buildInputs = with ocamlPackages; [
    cmdliner
    ezjsonm-encoding
    poll
  ];

  meta = {
    description = "Implementing a spatial model inspired by Material Shell, for i3 and sway";
    homepage = "https://spatial-shell.app";
    changelog = "https://github.com/lthms/spatial-shell/blob/${src.rev}/CHANGES.md";
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [ fgaz ];
    mainProgram = "spatial";
    platforms = lib.platforms.linux;
  };
}