Replace use of testVersion
alias
- lndconnect: Drop unused input `testVersion` - other packages: Import `testers` and use `testers.testVersion`
This commit is contained in:
parent
dd9c76a307
commit
a9f912498f
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, testVersion, lndconnect }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, lndconnect }:
|
||||
buildGoModule rec {
|
||||
pname = "lndconnect";
|
||||
version = "0.2.1";
|
||||
|
@ -5,7 +5,7 @@
|
||||
, gtk3
|
||||
, mcomix
|
||||
, python3
|
||||
, testVersion
|
||||
, testers
|
||||
, wrapGAppsHook
|
||||
|
||||
# Recommended Dependencies:
|
||||
@ -46,7 +46,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = mcomix;
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, roxctl }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, roxctl }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "roxctl";
|
||||
@ -30,7 +30,7 @@ buildGoModule rec {
|
||||
--zsh <($out/bin/roxctl completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = roxctl;
|
||||
command = "roxctl version";
|
||||
};
|
||||
|
@ -7,7 +7,7 @@
|
||||
, rustPlatform
|
||||
, Security
|
||||
, stdenv
|
||||
, testVersion
|
||||
, testers
|
||||
}:
|
||||
|
||||
let
|
||||
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = gfold;
|
||||
command = "gfold --version";
|
||||
inherit version;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, less, more, installShellFiles, testVersion, jira-cli-go }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, less, more, installShellFiles, testers, jira-cli-go }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jira-cli-go";
|
||||
@ -22,7 +22,7 @@ buildGoModule rec {
|
||||
|
||||
checkInputs = [ less more ]; # Tests expect a pager in $PATH
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = jira-cli-go;
|
||||
command = "jira version";
|
||||
inherit version;
|
||||
|
Loading…
Reference in New Issue
Block a user