diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-16 12:01:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 12:01:03 +0000 |
commit | 9fe75f18c0b0fef185247e1bfc460437098a1c7e (patch) | |
tree | 0de7d44d010255b51ce68b5e3bbe45dfc395e11d /pkgs/tools/wayland/swayr/default.nix | |
parent | 1e9175815bff54995d71136a5b330196b987ea72 (diff) | |
parent | 91367071919c3972cadaf71f6842b00f97cde989 (diff) | |
download | nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar.gz nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar.bz2 nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar.lz nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar.xz nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.tar.zst nixpkgs-9fe75f18c0b0fef185247e1bfc460437098a1c7e.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/wayland/swayr/default.nix')
-rw-r--r-- | pkgs/tools/wayland/swayr/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/swayr/default.nix b/pkgs/tools/wayland/swayr/default.nix new file mode 100644 index 00000000000..24a830a7277 --- /dev/null +++ b/pkgs/tools/wayland/swayr/default.nix @@ -0,0 +1,30 @@ +{ lib, fetchFromSourcehut, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "swayr"; + version = "0.6.1"; + + src = fetchFromSourcehut { + owner = "~tsdh"; + repo = "swayr"; + rev = "v${version}"; + sha256 = "1865064q8jb75nfb0hbx4swbbijpibm0n7m4cid8qgylzp4bxvs2"; + }; + + cargoSha256 = "0w6zjnywifdlaw01xz2824lwm4b6r1b7r99wi3p12vgbrmks4jcr"; + + patches = [ + ./icon-paths.patch + ]; + + preCheck = '' + export HOME=$TMPDIR + ''; + + meta = with lib; { + description = "A window switcher (and more) for sway"; + homepage = "https://git.sr.ht/~tsdh/swayr"; + license = with licenses; [ gpl3Plus ]; + maintainers = with maintainers; [ artturin ]; + }; +} |