snixembed: modernize package, add maintainer

This commit is contained in:
nick-linux8
2026-06-06 03:12:41 -04:00
parent 1210527940
commit a9f5b0fa43
+12 -2
View File
@@ -3,9 +3,11 @@
gtk3,
lib,
libdbusmenu-gtk3,
nix-update-script,
pkg-config,
stdenv,
vala,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -16,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "~steef";
repo = "snixembed";
rev = finalAttrs.version;
sha256 = "sha256-co32Xlklg6KVyi+xEoDJ6TeN28V+wCSx73phwnl/05E=";
hash = "sha256-co32Xlklg6KVyi+xEoDJ6TeN28V+wCSx73phwnl/05E=";
};
nativeBuildInputs = [
@@ -24,20 +26,28 @@ stdenv.mkDerivation (finalAttrs: {
vala
];
nativeInstallCheckInputs = [ versionCheckHook ];
buildInputs = [
gtk3
libdbusmenu-gtk3
];
doInstallCheck = true;
makeFlags = [ "PREFIX=$(out)" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Proxy StatusNotifierItems as XEmbedded systemtray-spec icons";
homepage = "https://git.sr.ht/~steef/snixembed";
changelog = "https://git.sr.ht/~steef/snixembed/refs/${finalAttrs.version}";
license = lib.licenses.isc;
platforms = lib.platforms.unix;
maintainers = [ ];
maintainers = with lib.maintainers; [
nick-linux
];
mainProgram = "snixembed";
};
})