nixpkgs/pkgs/by-name/sp/spatial-shell/package.nix
2024-06-14 16:29:10 +02:00

38 lines
818 B
Nix

{ 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;
};
}