birdtray: refresh the recipe to the current guidelines

- remove `with lib`
- use `tag` and `hash` in source
- replace `rec` with `finalAttrs`
This commit is contained in:
Acid Bong
2025-10-23 13:09:08 +03:00
parent bd8890b4f8
commit 0daa3ea175
+8 -8
View File
@@ -8,15 +8,15 @@
libsForQt5,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "birdtray";
version = "1.11.4";
src = fetchFromGitHub {
owner = "gyunaev";
repo = "birdtray";
rev = "v${version}";
sha256 = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
tag = "v${finalAttrs.version}";
hash = "sha256-rj8tPzZzgW0hXmq8c1LiunIX1tO/tGAaqDGJgCQda5M=";
};
nativeBuildInputs = [
@@ -40,12 +40,12 @@ stdenv.mkDerivation rec {
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
meta = with lib; {
meta = {
description = "Mail system tray notification icon for Thunderbird";
mainProgram = "birdtray";
homepage = "https://github.com/gyunaev/birdtray";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ Flakebi ];
platforms = platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ Flakebi ];
platforms = lib.platforms.linux;
};
}
})