depot/third_party/nixpkgs/pkgs/by-name/sp/spatial-shell/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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