kompose: use testers.testVersion

This commit is contained in:
Bobby Rong 2022-04-26 15:58:49 +08:00
parent 258637b969
commit c154c1cd79
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, kompose }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kompose }:
buildGoModule rec {
pname = "kompose";
@ -26,7 +26,7 @@ buildGoModule rec {
done
'';
passthru.tests.version = testVersion {
passthru.tests.version = testers.testVersion {
package = kompose;
command = "kompose version";
};