about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/sway/ws.nix
blob: babb252d7452dae72ae0355511a162e08f3ac67b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchFromGitLab, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "swayws";
  version = "unstable-2022-03-10";

  src = fetchFromGitLab {
    owner = "w0lff";
    repo = pname;
    rev = "514f3c664439cf2c11bb9096c7e1d3b8c0b898a2";
    sha256 = "sha256-vUnbn79v08riYLMBI8BxeBPpe/pHOWlraG7QAaohw3s=";
  };

  cargoSha256 = "sha256-PvKpcTewajvbzUHPssBahWVcAQB3V/aMmOJ/wA0Nrv4=";

  # swayws does not have any tests
  doCheck = false;

  meta = with lib; {
    description = "A sway workspace tool which allows easy moving of workspaces to and from outputs";
    homepage = "https://gitlab.com/w0lff/swayws";
    license = licenses.mit;
    maintainers = [ maintainers.atila ];
  };
}