From c92ba66dba45a8161b2c858307d4548b65fbcf67 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 5 Jun 2024 11:07:58 +0200 Subject: [PATCH] spatial-shell: init at 7 --- pkgs/by-name/sp/spatial-shell/package.nix | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/sp/spatial-shell/package.nix diff --git a/pkgs/by-name/sp/spatial-shell/package.nix b/pkgs/by-name/sp/spatial-shell/package.nix new file mode 100644 index 000000000000..4b741f8aaec2 --- /dev/null +++ b/pkgs/by-name/sp/spatial-shell/package.nix @@ -0,0 +1,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; + }; +}