Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / sw / swayws / package.nix
blob8041763adef06a62de8646dca6a1ebc84fbabecc
1 { lib, fetchFromGitLab, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4   pname = "swayws";
5   version = "1.2.0";
7   src = fetchFromGitLab {
8     owner = "w0lff";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-f0kXy7/31imgHHqKPmW9K+QrLqroaPaXwlJkzOoezRU=";
12   };
14   cargoHash = "sha256-VYT6wV59fraAoJgR/i6GlO8s7LUoehGtxPAggEL1eLo=";
15   # Required patch until upstream fixes https://gitlab.com/w0lff/swayws/-/issues/1
16   cargoPatches = [
17     ./ws-update-Cargo-lock.patch
18   ];
20   # swayws does not have any tests
21   doCheck = false;
23   meta = with lib; {
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 ];
29   };