Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 ocamlPackages, 4 fetchFromGitHub, 5 scdoc, 6}: 7 8ocamlPackages.buildDunePackage rec { 9 pname = "spatial-shell"; 10 version = "7"; 11 12 src = fetchFromGitHub { 13 owner = "lthms"; 14 repo = "spatial-shell"; 15 rev = version; 16 hash = "sha256-OeNBP/jea1ABh/WpvCP7We+L20WoTfLZH71raH7bKPI="; 17 }; 18 19 nativeBuildInputs = [ 20 scdoc 21 ]; 22 23 buildInputs = with ocamlPackages; [ 24 cmdliner 25 ezjsonm-encoding 26 poll 27 ]; 28 29 meta = { 30 description = "Implementing a spatial model inspired by Material Shell, for i3 and sway"; 31 homepage = "https://spatial-shell.app"; 32 changelog = "https://github.com/lthms/spatial-shell/blob/${src.rev}/CHANGES.md"; 33 license = lib.licenses.mpl20; 34 maintainers = with lib.maintainers; [ fgaz ]; 35 mainProgram = "spatial"; 36 platforms = lib.platforms.linux; 37 }; 38}