aws-lc: 1.39.0 -> 1.42.0 (#369942)
[NixPkgs.git] / pkgs / by-name / sw / swayws / package.nix
blob90752a14da04a2047dd836c9cbf1cf9a33f2cf47
2   lib,
3   fetchFromGitLab,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "swayws";
9   version = "1.2.0";
11   src = fetchFromGitLab {
12     owner = "w0lff";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-f0kXy7/31imgHHqKPmW9K+QrLqroaPaXwlJkzOoezRU=";
16   };
18   cargoHash = "sha256-VYT6wV59fraAoJgR/i6GlO8s7LUoehGtxPAggEL1eLo=";
19   # Required patch until upstream fixes https://gitlab.com/w0lff/swayws/-/issues/1
20   cargoPatches = [
21     ./ws-update-Cargo-lock.patch
22   ];
24   # swayws does not have any tests
25   doCheck = false;
27   meta = with lib; {
28     description = "Sway workspace tool which allows easy moving of workspaces to and from outputs";
29     mainProgram = "swayws";
30     homepage = "https://gitlab.com/w0lff/swayws";
31     license = licenses.mit;
32     maintainers = [ maintainers.atila ];
33   };