This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 let 6 python = pkgs.python3; 7 in 8 { 9 packages.sway-spawn-workspace = pkgs.stdenv.mkDerivation { 10 pname = "sway-spawn-workspace"; 11 version = "0.1.0"; 12 src = ./.; 13 nativeBuildInputs = [ 14 pkgs.makeWrapper 15 pkgs.ruff 16 python.pkgs.mypy 17 ]; 18 doCheck = true; 19 checkPhase = '' 20 runHook preCheck 21 ruff check daemon.py 22 ruff format --check daemon.py 23 mypy --strict daemon.py 24 runHook postCheck 25 ''; 26 installPhase = '' 27 runHook preInstall 28 mkdir -p $out/bin 29 cp daemon.py $out/bin/sway-spawn-workspace 30 chmod +x $out/bin/sway-spawn-workspace 31 wrapProgram $out/bin/sway-spawn-workspace \ 32 --prefix PATH : ${python}/bin:${pkgs.sway}/bin:${pkgs.tmux}/bin 33 runHook postInstall 34 ''; 35 meta.mainProgram = "sway-spawn-workspace"; 36 }; 37 }; 38}