mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #170385 from bobby285271/testversion
various: use testers.testVersion
This commit is contained in:
commit
44262ba2e0
6 changed files with 10 additions and 11 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
, CoreServices
|
||||
, developer_cmds
|
||||
, DarwinTools
|
||||
, testVersion
|
||||
, mysql-shell
|
||||
}:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, installShellFiles
|
||||
, testVersion
|
||||
, testers
|
||||
, mas
|
||||
}:
|
||||
|
||||
|
@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testVersion {
|
||||
version = testers.testVersion {
|
||||
package = mas;
|
||||
command = "mas version";
|
||||
};
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, fetchpatch
|
||||
, pkg-config
|
||||
, openssl
|
||||
, testVersion
|
||||
, testers
|
||||
, gbl
|
||||
}:
|
||||
|
||||
|
@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = [ openssl ];
|
||||
|
||||
passthru.tests.version =
|
||||
testVersion { package = gbl; };
|
||||
testers.testVersion { package = gbl; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "GBL Firmware file manipulation";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, testVersion, gosu }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, gosu }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gosu";
|
||||
|
@ -15,7 +15,7 @@ buildGoModule rec {
|
|||
|
||||
ldflags = [ "-d" "-s" "-w" ];
|
||||
|
||||
passthru.tests.version = testVersion {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = gosu;
|
||||
};
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, nix
|
||||
, nix-index
|
||||
, rustPlatform
|
||||
, testVersion
|
||||
, testers
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec {
|
|||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testVersion { package = comma; };
|
||||
version = testers.testVersion { package = comma; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue