about summary refs log tree commit diff
path: root/pkgs/by-name/sw/sway-new-workspace/package.nix
blob: 79dcc963df71f43443452772aed2c0ac2b34de4d (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
26
27
{ lib
, fetchFromGitHub
, rustPlatform
}:

rustPlatform.buildRustPackage rec {
  pname = "sway-new-workspace";
  version = "0.1.5";

  src = fetchFromGitHub {
    owner = "nzig";
    repo = pname;
    rev = version;
    hash = "sha256-CoSfpsaGqNNR5jdAQys3nQxshI0NXXr8MacUnSTKFNo=";
  };

  cargoHash = "sha256-uGjNneIfhI49gGnH/MPTzXWjBJPdnAFggZZQfovBxDM=";

  meta = with lib; {
    description = "Command to create new Sway workpaces";
    homepage = "https://github.com/nzig/sway-new-workspace";
    license = licenses.mit;
    mainProgram = "sway-new-workspace";
    maintainers = with maintainers; [ bbenno ];
    platforms = platforms.linux;
  };
}