From b3f466d9a50172a02c7f2d61075ff127173ac510 Mon Sep 17 00:00:00 2001 From: willifan Date: Tue, 14 Jan 2025 17:35:52 +0100 Subject: [PATCH] updated ewwbar --- .../home-manager/desktop/hyprland/utils.nix | 1 - pkgs/ewwbar/default.nix | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/default/home-manager/desktop/hyprland/utils.nix b/modules/default/home-manager/desktop/hyprland/utils.nix index caaba0a..fba7ccd 100644 --- a/modules/default/home-manager/desktop/hyprland/utils.nix +++ b/modules/default/home-manager/desktop/hyprland/utils.nix @@ -18,7 +18,6 @@ pkgs.pulseaudio pkgs.inotify-tools pkgs.papirus-icon-theme - pkgs.eww ]; }; } diff --git a/pkgs/ewwbar/default.nix b/pkgs/ewwbar/default.nix index 93a4e95..cf36bfd 100644 --- a/pkgs/ewwbar/default.nix +++ b/pkgs/ewwbar/default.nix @@ -4,17 +4,17 @@ , pkg-config , libxkbcommon }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "ewwbar"; - version = "0.1.0"; + version = "v0.1.1"; src = fetchurl { - url = "https://git.huwe.mooo.com/willifan/desktop-utils/archive/main.tar.gz"; - sha256 = "sha256-qolavUf7wKjwXlbBOz5gphjk1aqCBgbdLY62N3plbB8="; + url = "https://git.huwe.mooo.com/willifan/desktop-utils/archive/${version}.tar.gz"; + sha256 = "sha256-yUwZdW8NusSS0cPmdl87z1C8rqq2/eBNdkqprbSkmUE="; }; - cargoHash = "sha256-H0Mm5BdxmR6WM3KHRSuBYfCxSdLcp95sT4qbARL5ywU="; + cargoHash = "sha256-89Vljhbv2yLJtnr/6GLAuXkhVovJn1Iy+8jNgdPCCu8="; nativeBuildInputs = [ @@ -25,12 +25,12 @@ rustPlatform.buildRustPackage { libxkbcommon ]; - meta = with pkgs.lib; { + meta = with lib; { description = "utils for my desktop"; homepage = " git.huwe.mooo.com/willifan/desktop-utils"; license = licenses.gpl3; platforms = platforms.unix; mainProgram = "ewwbar"; - }; + }; }