mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
komac: add updateScript
This commit is contained in:
parent
91abcc0446
commit
96562536ca
@ -11,6 +11,7 @@
|
||||
dbus,
|
||||
zstd,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -52,13 +53,17 @@ rustPlatform.buildRustPackage {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/komac";
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
inherit version;
|
||||
|
||||
package = komac;
|
||||
command = "komac --version";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Community Manifest Creator for WinGet";
|
||||
homepage = "https://github.com/russellbanks/Komac";
|
||||
|
Loading…
Reference in New Issue
Block a user