1 { lib, fetchFromGitLab, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitLab {
11 hash = "sha256-f0kXy7/31imgHHqKPmW9K+QrLqroaPaXwlJkzOoezRU=";
14 cargoHash = "sha256-VYT6wV59fraAoJgR/i6GlO8s7LUoehGtxPAggEL1eLo=";
15 # Required patch until upstream fixes https://gitlab.com/w0lff/swayws/-/issues/1
17 ./ws-update-Cargo-lock.patch
20 # swayws does not have any tests
24 description = "Sway workspace tool which allows easy moving of workspaces to and from outputs";
25 mainProgram = "swayws";
26 homepage = "https://gitlab.com/w0lff/swayws";
27 license = licenses.mit;
28 maintainers = [ maintainers.atila ];