diff options
| author | Francesco Gazzetta <fgaz@fgaz.me> | 2024-06-05 11:07:58 +0200 |
|---|---|---|
| committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2024-06-14 20:13:32 +0200 |
| commit | 0777a1252aa7d635566a9a5f87975a16e70e7b39 (patch) | |
| tree | 05989815845d7e371a405a6e0d081bb2a387eede | |
| parent | ocamlPackages.ezjsonm-encoding: init at 2.0.0 (diff) | |
| download | nixpkgs-0777a1252aa7d635566a9a5f87975a16e70e7b39.tar.gz | |
spatial-shell: init at 7
(cherry picked from commit 09b5e09ce89f065573268431f6e00ff2d6d06075)
| -rw-r--r-- | pkgs/by-name/sp/spatial-shell/package.nix | 37 |
1 files changed, 37 insertions, 0 deletions
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; + }; +} |
