lol

goss: add passthru.tests.goss and meta.mainProgram

+9 -5
+9 -5
pkgs/tools/misc/goss/default.nix
··· 49 49 ''; 50 50 51 51 passthru = { 52 - tests.version = testers.testVersion { 53 - command = "goss --version"; 54 - package = goss; 55 - version = "v${version}"; 52 + tests = { 53 + inherit (nixosTests) goss; 54 + version = testers.testVersion { 55 + command = "goss --version"; 56 + package = goss; 57 + version = "v${version}"; 58 + }; 56 59 }; 57 60 updateScript = nix-update-script { }; 58 61 }; ··· 67 70 Once the test suite is written they can be executed, waited-on, or served as a health endpoint. 68 71 ''; 69 72 license = licenses.asl20; 73 + mainProgram = "goss"; 74 + maintainers = with maintainers; [ hyzual jk anthonyroussel ]; 70 75 platforms = platforms.linux ++ platforms.darwin; 71 - maintainers = with maintainers; [ hyzual jk anthonyroussel ]; 72 76 }; 73 77 }