From 7af502587d506d208ff10818624d4c188a5168d9 Mon Sep 17 00:00:00 2001 From: Daniel Albert Date: Sun, 6 Mar 2022 21:18:23 +0100 Subject: [PATCH] swaysome: init at 1.1.2 --- pkgs/tools/wayland/swaysome/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/wayland/swaysome/default.nix diff --git a/pkgs/tools/wayland/swaysome/default.nix b/pkgs/tools/wayland/swaysome/default.nix new file mode 100644 index 000000000000..65c0f3af65cd --- /dev/null +++ b/pkgs/tools/wayland/swaysome/default.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitLab +}: + +rustPlatform.buildRustPackage rec { + pname = "swaysome"; + version = "1.1.2"; + + src = fetchFromGitLab { + owner = "hyask"; + repo = pname; + rev = version; + sha256 = "sha256-eX2Pzn5It4yf94ZWH/7yAJjwpayVYvpvbrvk7qvbimg="; + }; + + cargoSha256 = "sha256-WXjmXwqeWnQVyFs51t81kHHMMn9HQQjBRw1g1cU+6/M="; + + meta = with lib; { + description = "Helper to make sway behave more like awesomewm"; + homepage = "https://gitlab.com/hyask/swaysome"; + license = licenses.mit; + maintainers = with maintainers; [ esclear ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 111f3c81dad7..b0b821d88e20 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2687,6 +2687,8 @@ with pkgs; swayr = callPackage ../tools/wayland/swayr { }; + swaysome = callPackage ../tools/wayland/swaysome { }; + swaytools = callPackage ../tools/wayland/swaytools { }; wayland-utils = callPackage ../tools/wayland/wayland-utils { };