9 rpathLibs = [ libXinerama libX11 ];
12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/${version}";
20 hash = "sha256-wn5DurPWFwSUtc5naEL4lBSQpKWTJkugpN9mKx+Ed2Y=";
23 cargoHash = "sha256-TylRxdpAVuGtZ3Lm8je6FZ0JUwetBi6mOGRoT2M3Jyk=";
25 buildInputs = rpathLibs;
28 for p in $out/bin/left*; do
29 patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $p
32 install -D -m 0555 leftwm/doc/leftwm.1 $out/share/man/man1/leftwm.1
38 description = "A tiling window manager for the adventurer";
39 homepage = "https://github.com/leftwm/leftwm";
40 license = lib.licenses.mit;
41 platforms = lib.platforms.linux;
42 maintainers = with lib.maintainers; [ yanganto ];
43 changelog = "https://github.com/leftwm/leftwm/blob/${version}/CHANGELOG.md";