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 {
|
buildGoModule rec {
|
||||||
pname = "lndconnect";
|
pname = "lndconnect";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, mcomix
|
, mcomix
|
||||||
, python3
|
, python3
|
||||||
, testVersion
|
, testers
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
|
||||||
# Recommended Dependencies:
|
# Recommended Dependencies:
|
||||||
|
@ -46,7 +46,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = mcomix;
|
package = mcomix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, roxctl }:
|
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, roxctl }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "roxctl";
|
pname = "roxctl";
|
||||||
|
@ -30,7 +30,7 @@ buildGoModule rec {
|
||||||
--zsh <($out/bin/roxctl completion zsh)
|
--zsh <($out/bin/roxctl completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = roxctl;
|
package = roxctl;
|
||||||
command = "roxctl version";
|
command = "roxctl version";
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, Security
|
, Security
|
||||||
, stdenv
|
, stdenv
|
||||||
, testVersion
|
, testers
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -28,7 +28,7 @@ rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = gfold;
|
package = gfold;
|
||||||
command = "gfold --version";
|
command = "gfold --version";
|
||||||
inherit 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 {
|
buildGoModule rec {
|
||||||
pname = "jira-cli-go";
|
pname = "jira-cli-go";
|
||||||
|
@ -22,7 +22,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
checkInputs = [ less more ]; # Tests expect a pager in $PATH
|
checkInputs = [ less more ]; # Tests expect a pager in $PATH
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = jira-cli-go;
|
package = jira-cli-go;
|
||||||
command = "jira version";
|
command = "jira version";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
Loading…
Reference in a new issue