10 stdenv.mkDerivation rec {
12 version = "unstable-2022-06-19";
14 src = fetchFromGitHub {
17 rev = "9d60fc271454ea1bfca598575207a06d8d172d3e";
18 sha256 = "sha256-7bBVWJdgAnXLWzjQGZxVqhku2rsxX2kMxU4xkI9/DHE=";
21 nativeBuildInputs = [ makeWrapper git bc ];
22 buildInputs = [ bspwm ];
24 makeFlags = [ "PREFIX=$(out)" ];
27 substituteInPlace $out/lib/bsp-layout/layout.sh --replace 'bc ' '${bc}/bin/bc '
28 for layout in tall rtall wide rwide
30 substituteInPlace "$out/lib/bsp-layout/layouts/$layout.sh" --replace 'bc ' '${bc}/bin/bc '
35 description = "Manage layouts in bspwm";
37 bsp-layout is a dynamic layout manager for bspwm, written in bash.
38 It provides layout options to fit most workflows.
40 homepage = "https://github.com/phenax/bsp-layout";
41 license = licenses.mit;
42 maintainers = with maintainers; [ totoroot ];
43 platforms = platforms.linux;
44 mainProgram = "bsp-layout";