From a9f912498f6f415e8f9e3dc9da7565f8c3394e64 Mon Sep 17 00:00:00 2001 From: "Berk D. Demir" Date: Sun, 26 Jun 2022 17:41:46 +0000 Subject: Replace use of `testVersion` alias - lndconnect: Drop unused input `testVersion` - other packages: Import `testers` and use `testers.testVersion` --- pkgs/applications/blockchains/lndconnect/default.nix | 2 +- pkgs/applications/graphics/mcomix/default.nix | 4 ++-- pkgs/applications/networking/cluster/roxctl/default.nix | 4 ++-- pkgs/applications/version-management/git-and-tools/gfold/default.nix | 4 ++-- pkgs/development/tools/jira-cli-go/default.nix | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/blockchains/lndconnect/default.nix b/pkgs/applications/blockchains/lndconnect/default.nix index f1745655a56..9a3aa137453 100644 --- a/pkgs/applications/blockchains/lndconnect/default.nix +++ b/pkgs/applications/blockchains/lndconnect/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, testVersion, lndconnect }: +{ lib, buildGoModule, fetchFromGitHub, lndconnect }: buildGoModule rec { pname = "lndconnect"; version = "0.2.1"; diff --git a/pkgs/applications/graphics/mcomix/default.nix b/pkgs/applications/graphics/mcomix/default.nix index 530ae0013b5..5c6e49ea9a6 100644 --- a/pkgs/applications/graphics/mcomix/default.nix +++ b/pkgs/applications/graphics/mcomix/default.nix @@ -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; }; diff --git a/pkgs/applications/networking/cluster/roxctl/default.nix b/pkgs/applications/networking/cluster/roxctl/default.nix index bbd3d646fdf..f022fc90b54 100644 --- a/pkgs/applications/networking/cluster/roxctl/default.nix +++ b/pkgs/applications/networking/cluster/roxctl/default.nix @@ -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"; }; diff --git a/pkgs/applications/version-management/git-and-tools/gfold/default.nix b/pkgs/applications/version-management/git-and-tools/gfold/default.nix index d3b960208fc..c50fbc79501 100644 --- a/pkgs/applications/version-management/git-and-tools/gfold/default.nix +++ b/pkgs/applications/version-management/git-and-tools/gfold/default.nix @@ -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; diff --git a/pkgs/development/tools/jira-cli-go/default.nix b/pkgs/development/tools/jira-cli-go/default.nix index 75640ddf33f..641b16ac2e9 100644 --- a/pkgs/development/tools/jira-cli-go/default.nix +++ b/pkgs/development/tools/jira-cli-go/default.nix @@ -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; -- cgit 1.4.1