kew: updateScript, install and version checks

This commit is contained in:
Matteo Pacini
2025-03-02 09:18:48 +00:00
parent 1af904c5b7
commit af05d750e0
+11
View File
@@ -11,6 +11,8 @@
, faad2
, libogg
, pkg-config
, versionCheckHook
, gitUpdater
}:
stdenv.mkDerivation(finalAttrs: {
@@ -32,6 +34,15 @@ stdenv.mkDerivation(finalAttrs: {
"PREFIX=${placeholder "out"}"
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = gitUpdater { };
};
meta = {
description = "Command-line music player for Linux";
homepage = "https://github.com/ravachol/kew";