snixembed: modernize package, add maintainer
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user