From 97c5f6389997e6d961b6e5a1431967f83b229474 Mon Sep 17 00:00:00 2001 From: Ludovico Piero Date: Wed, 30 Aug 2023 20:05:34 +1000 Subject: [PATCH] yambar-hyprland-wses: init at 0.1.0 --- .../misc/yambar-hyprland-wses/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/misc/yambar-hyprland-wses/default.nix diff --git a/pkgs/applications/misc/yambar-hyprland-wses/default.nix b/pkgs/applications/misc/yambar-hyprland-wses/default.nix new file mode 100644 index 000000000000..e64e8e13dec1 --- /dev/null +++ b/pkgs/applications/misc/yambar-hyprland-wses/default.nix @@ -0,0 +1,27 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "yambar-hyprland-wses"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "jonhoo"; + repo = "yambar-hyprland-wses"; + rev = "v${version}"; + hash = "sha256-furHj1AAFgNiNHP9RBsVrIvrDckSKU8FXilzH9TQ99c="; + }; + + cargoHash = "sha256-/ewEgrBxRw5Xii5PX1GLKzBrZjgnzYc/Hz+M1pJpncQ="; + + meta = { + description = "Enable Yambar to show Hyprland workspaces"; + homepage = "https://github.com/jonhoo/yambar-hyprland-wses"; + license = with lib.licenses; [ asl20 mit ]; + maintainers = with lib.maintainers; [ ludovicopiero ]; + mainProgram = "yambar-hyprland-wses"; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e58d68f01b8..4fa96fcfccc0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34335,6 +34335,8 @@ with pkgs; yambar = callPackage ../applications/misc/yambar { }; + yambar-hyprland-wses = callPackage ../applications/misc/yambar-hyprland-wses { }; + polyphone = libsForQt5.callPackage ../applications/audio/polyphone { }; portfolio = callPackage ../applications/office/portfolio {