tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
treewide: testVersion -> testers.testVersion
Artturin
3 years ago
f1c7f19e
250ef1ff
+126
-128
64 changed files
expand all
collapse all
unified
split
pkgs
applications
audio
furnace
default.nix
whipper
default.nix
graphics
ImageMagick
7.0.nix
misc
dunst
default.nix
k4dirstat
default.nix
sigi
default.nix
zola
default.nix
networking
browsers
palemoon
default.nix
cluster
ocm
default.nix
odo
default.nix
openshift
default.nix
mailreaders
notmuch
default.nix
seaweedfs
default.nix
science
logic
key
default.nix
version-management
git-and-tools
git-machete
default.nix
scmpuff
default.nix
git-sizer
default.nix
jujutsu
default.nix
video
handbrake
default.nix
virtualization
podman-tui
default.nix
development
compilers
go-jsonnet
default.nix
uasm
default.nix
python-modules
mutmut
default.nix
staticjinja
default.nix
quickemu
default.nix
tools
amazon-qldb-shell
default.nix
bingo
default.nix
buf
default.nix
fq
default.nix
gojq
default.nix
kube-linter
default.nix
quick-lint-js
default.nix
selenium
chromedriver
default.nix
sq
default.nix
yarn
default.nix
games
lgogdownloader
default.nix
opensupaplex
default.nix
warzone2100
default.nix
servers
monitoring
prometheus
promscale
default.nix
stayrtr
default.nix
tools
admin
colmena
default.nix
archivers
7zz
default.nix
backup
discordchatexporter-cli
default.nix
compression
pxz
default.nix
filesystems
garage
default.nix
misc
adrgen
default.nix
arch-install-scripts
default.nix
czkawka
default.nix
datefmt
default.nix
dsq
default.nix
gummy
default.nix
lsd
default.nix
zellij
default.nix
networking
clash
default.nix
curlie
default.nix
innernet
default.nix
pmacct
default.nix
smartdns
default.nix
nix
alejandra
default.nix
system
s-tui
default.nix
text
crowdin-cli
default.nix
difftastic
default.nix
igrep
default.nix
mdbook-linkcheck
default.nix
+2
-2
pkgs/applications/audio/furnace/default.nix
···
1
1
{ stdenv
2
2
, lib
3
3
, gitUpdater
4
4
-
, testVersion
4
4
+
, testers
5
5
, furnace
6
6
, fetchFromGitHub
7
7
, cmake
···
83
83
inherit pname version;
84
84
rev-prefix = "v";
85
85
};
86
86
-
tests.version = testVersion {
86
86
+
tests.version = testers.testVersion {
87
87
package = furnace;
88
88
# The command always exits with code 1
89
89
command = "(furnace --version || [ $? -eq 1 ])";
+2
-2
pkgs/applications/audio/whipper/default.nix
···
8
8
, flac
9
9
, sox
10
10
, util-linux
11
11
-
, testVersion
11
11
+
, testers
12
12
, whipper
13
13
}:
14
14
···
74
74
runHook postCheck
75
75
'';
76
76
77
77
-
passthru.tests.version = testVersion {
77
77
+
passthru.tests.version = testers.testVersion {
78
78
package = whipper;
79
79
command = "HOME=$TMPDIR whipper --version";
80
80
};
+2
-2
pkgs/applications/graphics/ImageMagick/7.0.nix
···
29
29
, curl
30
30
, ApplicationServices
31
31
, Foundation
32
32
-
, testVersion
32
32
+
, testers
33
33
, imagemagick
34
34
}:
35
35
···
120
120
'';
121
121
122
122
passthru.tests.version =
123
123
-
testVersion { package = imagemagick; };
123
123
+
testers.testVersion { package = imagemagick; };
124
124
125
125
meta = with lib; {
126
126
homepage = "http://www.imagemagick.org/";
+2
-2
pkgs/applications/misc/dunst/default.nix
···
3
3
, cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver
4
4
, wayland, wayland-protocols
5
5
, libXinerama, libnotify, pango, xorgproto, librsvg
6
6
-
, testVersion, dunst
6
6
+
, testers, dunst
7
7
}:
8
8
9
9
stdenv.mkDerivation rec {
···
40
40
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
41
41
'';
42
42
43
43
-
passthru.tests.version = testVersion { package = dunst; };
43
43
+
passthru.tests.version = testers.testVersion { package = dunst; };
44
44
45
45
meta = with lib; {
46
46
description = "Lightweight and customizable notification daemon";
+2
-2
pkgs/applications/misc/k4dirstat/default.nix
···
7
7
, kjobwidgets
8
8
, kxmlgui
9
9
, lib
10
10
-
, testVersion
10
10
+
, testers
11
11
, k4dirstat
12
12
}:
13
13
···
26
26
buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
27
27
28
28
passthru.tests.version =
29
29
-
testVersion {
29
29
+
testers.testVersion {
30
30
package = k4dirstat;
31
31
command = "k4dirstat -platform offscreen --version &>/dev/stdout";
32
32
};
+2
-2
pkgs/applications/misc/sigi/default.nix
···
1
1
-
{ lib, rustPlatform, fetchCrate, installShellFiles, testVersion, sigi }:
1
1
+
{ lib, rustPlatform, fetchCrate, installShellFiles, testers, sigi }:
2
2
3
3
rustPlatform.buildRustPackage rec {
4
4
pname = "sigi";
···
19
19
installManPage sigi.1
20
20
'';
21
21
22
22
-
passthru.tests.version = testVersion { package = sigi; };
22
22
+
passthru.tests.version = testers.testVersion { package = sigi; };
23
23
24
24
meta = with lib; {
25
25
description = "Organizing CLI for people who don't love organizing.";
+2
-2
pkgs/applications/misc/zola/default.nix
···
10
10
, installShellFiles
11
11
, libsass
12
12
, zola
13
13
-
, testVersion
13
13
+
, testers
14
14
}:
15
15
16
16
rustPlatform.buildRustPackage rec {
···
48
48
--bash completions/zola.bash
49
49
'';
50
50
51
51
-
passthru.tests.version = testVersion { package = zola; };
51
51
+
passthru.tests.version = testers.testVersion { package = zola; };
52
52
53
53
meta = with lib; {
54
54
description = "A fast static site generator with everything built-in";
+2
-2
pkgs/applications/networking/browsers/palemoon/default.nix
···
31
31
, zip
32
32
, zlib
33
33
, withGTK3 ? true, gtk3, gtk2
34
34
-
, testVersion
34
34
+
, testers
35
35
, palemoon
36
36
}:
37
37
···
211
211
)"
212
212
update-source-version ${pname} "$version"
213
213
'';
214
214
-
tests.version = testVersion {
214
214
+
tests.version = testers.testVersion {
215
215
package = palemoon;
216
216
};
217
217
};
+2
-2
pkgs/applications/networking/cluster/ocm/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, ocm }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, ocm }:
2
2
3
3
buildGoModule rec {
4
4
pname = "ocm";
···
18
18
ln -s $GOPATH/bin/ocm ocm
19
19
'';
20
20
21
21
-
passthru.tests.version = testVersion {
21
21
+
passthru.tests.version = testers.testVersion {
22
22
package = ocm;
23
23
command = "ocm version";
24
24
};
+2
-2
pkgs/applications/networking/cluster/odo/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, odo }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, odo }:
2
2
3
3
buildGoModule rec {
4
4
pname = "odo";
···
22
22
cp -a odo $out/bin
23
23
'';
24
24
25
25
-
passthru.tests.version = testVersion {
25
25
+
passthru.tests.version = testers.testVersion {
26
26
package = odo;
27
27
command = "odo version";
28
28
version = "v${version}";
+2
-2
pkgs/applications/networking/cluster/openshift/default.nix
···
4
4
, libkrb5
5
5
, git
6
6
, installShellFiles
7
7
-
, testVersion
7
7
+
, testers
8
8
, openshift
9
9
}:
10
10
···
52
52
installShellCompletion --zsh contrib/completions/zsh/*
53
53
'';
54
54
55
55
-
passthru.tests.version = testVersion {
55
55
+
passthru.tests.version = testers.testVersion {
56
56
package = openshift;
57
57
command = "oc version";
58
58
version = "v${version}";
+2
-2
pkgs/applications/networking/mailreaders/notmuch/default.nix
···
6
6
, pythonPackages
7
7
, emacs
8
8
, ruby
9
9
-
, testVersion
9
9
+
, testers
10
10
, which, dtach, openssl, bash, gdb, man
11
11
, withEmacs ? true
12
12
, withRuby ? true
···
102
102
103
103
passthru = {
104
104
pythonSourceRoot = "notmuch-${version}/bindings/python";
105
105
-
tests.version = testVersion { package = notmuch; };
105
105
+
tests.version = testers.testVersion { package = notmuch; };
106
106
inherit version;
107
107
};
108
108
+2
-2
pkgs/applications/networking/seaweedfs/default.nix
···
1
1
{ lib
2
2
, fetchFromGitHub
3
3
, buildGoModule
4
4
-
, testVersion
4
4
+
, testers
5
5
, seaweedfs
6
6
}:
7
7
···
21
21
subPackages = [ "weed" ];
22
22
23
23
passthru.tests.version =
24
24
-
testVersion { package = seaweedfs; command = "weed version"; };
24
24
+
testers.testVersion { package = seaweedfs; command = "weed version"; };
25
25
26
26
meta = with lib; {
27
27
description = "Simple and highly scalable distributed file system";
+2
-3
pkgs/applications/science/logic/key/default.nix
···
7
7
, makeWrapper
8
8
, makeDesktopItem
9
9
, copyDesktopItems
10
10
-
, testVersion
10
10
+
, testers
11
11
, key
12
12
}:
13
13
···
98
98
'';
99
99
100
100
passthru.tests.version =
101
101
-
testVersion {
101
101
+
testers.testVersion {
102
102
package = key;
103
103
command = "KeY --help";
104
104
};
···
118
118
platforms = platforms.all;
119
119
};
120
120
}
121
121
-
+1
-1
pkgs/applications/version-management/git-and-tools/git-machete/default.nix
···
4
4
, installShellFiles
5
5
, git
6
6
, nix-update-script
7
7
-
, testVersion
7
7
+
, testers
8
8
, git-machete
9
9
}:
10
10
+2
-2
pkgs/applications/version-management/git-and-tools/scmpuff/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, scmpuff }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, scmpuff }:
2
2
3
3
buildGoModule rec {
4
4
pname = "scmpuff";
···
15
15
16
16
ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
17
17
18
18
-
passthru.tests.version = testVersion {
18
18
+
passthru.tests.version = testers.testVersion {
19
19
package = scmpuff;
20
20
command = "scmpuff version";
21
21
};
+2
-2
pkgs/applications/version-management/git-sizer/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, git-sizer }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, git-sizer }:
2
2
3
3
buildGoModule rec {
4
4
pname = "git-sizer";
···
17
17
18
18
doCheck = false;
19
19
20
20
-
passthru.tests.vesion = testVersion {
20
20
+
passthru.tests.vesion = testers.testVersion {
21
21
package = git-sizer;
22
22
};
23
23
+2
-2
pkgs/applications/version-management/jujutsu/default.nix
···
9
9
, Security
10
10
, SystemConfiguration
11
11
, libiconv
12
12
-
, testVersion
12
12
+
, testers
13
13
, jujutsu
14
14
}:
15
15
···
44
44
];
45
45
46
46
passthru.tests = {
47
47
-
version = testVersion {
47
47
+
version = testers.testVersion {
48
48
package = jujutsu;
49
49
command = "jj --version";
50
50
};
+2
-2
pkgs/applications/video/handbrake/default.nix
···
11
11
, lib
12
12
, fetchFromGitHub
13
13
# For tests
14
14
-
, testVersion
14
14
+
, testers
15
15
, runCommand
16
16
, fetchurl
17
17
# Main build tools
···
230
230
HandBrakeCLI -i ${testMkv} -o test.mkv -e x264 -q 20 -B 160
231
231
test -e test.mkv
232
232
'';
233
233
-
version = testVersion { package = self; command = "HandBrakeCLI --version"; };
233
233
+
version = testers.testVersion { package = self; command = "HandBrakeCLI --version"; };
234
234
};
235
235
236
236
meta = with lib; {
+2
-2
pkgs/applications/virtualization/podman-tui/default.nix
···
6
6
, gpgme
7
7
, libassuan
8
8
, lvm2
9
9
-
, testVersion
9
9
+
, testers
10
10
, podman-tui
11
11
}:
12
12
buildGoModule rec {
···
33
33
34
34
ldflags = [ "-s" "-w" ];
35
35
36
36
-
passthru.tests.version = testVersion {
36
36
+
passthru.tests.version = testers.testVersion {
37
37
package = podman-tui;
38
38
command = "podman-tui version";
39
39
version = "v${version}";
+2
-2
pkgs/development/compilers/go-jsonnet/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers }:
2
2
3
3
let self = buildGoModule rec {
4
4
pname = "go-jsonnet";
···
17
17
18
18
subPackages = [ "cmd/jsonnet*" ];
19
19
20
20
-
passthru.tests.version = testVersion {
20
20
+
passthru.tests.version = testers.testVersion {
21
21
package = self;
22
22
version = "v${version}";
23
23
};
+2
-2
pkgs/development/compilers/uasm/default.nix
···
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
, fetchpatch
5
5
-
, testVersion
5
5
+
, testers
6
6
, uasm
7
7
}:
8
8
···
47
47
runHook postInstall
48
48
'';
49
49
50
50
-
passthru.tests.version = testVersion {
50
50
+
passthru.tests.version = testers.testVersion {
51
51
package = uasm;
52
52
command = "uasm -h";
53
53
version = "v${version}";
+2
-2
pkgs/development/python-modules/mutmut/default.nix
···
7
7
, pony
8
8
, junit-xml
9
9
, pythonOlder
10
10
-
, testVersion
10
10
+
, testers
11
11
}:
12
12
13
13
let self = buildPythonApplication rec {
···
31
31
32
32
propagatedBuildInputs = [ click glob2 parso pony junit-xml ];
33
33
34
34
-
passthru.tests.version = testVersion { package = self; };
34
34
+
passthru.tests.version = testers.testVersion { package = self; };
35
35
36
36
meta = with lib; {
37
37
description = "mutation testing system for Python, with a strong focus on ease of use";
+2
-2
pkgs/development/python-modules/staticjinja/default.nix
···
9
9
, pytest-check
10
10
, pythonOlder
11
11
, markdown
12
12
-
, testVersion
12
12
+
, testers
13
13
, tomlkit
14
14
, staticjinja
15
15
, callPackage
···
53
53
'';
54
54
55
55
passthru.tests = {
56
56
-
version = testVersion { package = staticjinja; };
56
56
+
version = testers.testVersion { package = staticjinja; };
57
57
minimal-template = callPackage ./test-minimal-template {};
58
58
};
59
59
+2
-2
pkgs/development/quickemu/default.nix
···
19
19
, zsync
20
20
, OVMF
21
21
, quickemu
22
22
-
, testVersion
22
22
+
, testers
23
23
}:
24
24
let
25
25
runtimePaths = [
···
73
73
runHook postInstall
74
74
'';
75
75
76
76
-
passthru.tests = testVersion { package = quickemu; };
76
76
+
passthru.tests = testers.testVersion { package = quickemu; };
77
77
78
78
meta = with lib; {
79
79
description = "Quickly create and run optimised Windows, macOS and Linux desktop virtual machines";
+2
-2
pkgs/development/tools/amazon-qldb-shell/default.nix
···
4
4
, fetchFromGitHub
5
5
, llvmPackages
6
6
, rustPlatform
7
7
-
, testVersion
7
7
+
, testers
8
8
}:
9
9
10
10
let
···
27
27
28
28
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
29
29
30
30
-
passthru.tests.version = testVersion { inherit package; };
30
30
+
passthru.tests.version = testers.testVersion { inherit package; };
31
31
32
32
meta = with lib; {
33
33
description = "An interface to send PartiQL statements to Amazon Quantum Ledger Database (QLDB)";
+2
-2
pkgs/development/tools/bingo/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, bingo }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, bingo }:
2
2
3
3
buildGoModule rec {
4
4
pname = "bingo";
···
26
26
27
27
ldflags = [ "-s" "-w" ];
28
28
29
29
-
passthru.tests.version = testVersion {
29
29
+
passthru.tests.version = testers.testVersion {
30
30
package = bingo;
31
31
command = "bingo version";
32
32
version = "v${version}";
+2
-2
pkgs/development/tools/buf/default.nix
···
3
3
, fetchFromGitHub
4
4
, protobuf
5
5
, git
6
6
-
, testVersion
6
6
+
, testers
7
7
, buf
8
8
, installShellFiles
9
9
}:
···
70
70
runHook postInstall
71
71
'';
72
72
73
73
-
passthru.tests.version = testVersion { package = buf; };
73
73
+
passthru.tests.version = testers.testVersion { package = buf; };
74
74
75
75
meta = with lib; {
76
76
homepage = "https://buf.build";
+2
-2
pkgs/development/tools/fq/default.nix
···
2
2
, buildGoModule
3
3
, fetchFromGitHub
4
4
, fq
5
5
-
, testVersion
5
5
+
, testers
6
6
}:
7
7
8
8
buildGoModule rec {
···
26
26
27
27
subPackages = [ "." ];
28
28
29
29
-
passthru.tests = testVersion { package = fq; };
29
29
+
passthru.tests = testers.testVersion { package = fq; };
30
30
31
31
meta = with lib; {
32
32
description = "jq for binary formats";
+2
-2
pkgs/development/tools/gojq/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, gojq }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, gojq }:
2
2
3
3
buildGoModule rec {
4
4
pname = "gojq";
···
15
15
16
16
ldflags = [ "-s" "-w" ];
17
17
18
18
-
passthru.tests.version = testVersion {
18
18
+
passthru.tests.version = testers.testVersion {
19
19
package = gojq;
20
20
};
21
21
+2
-2
pkgs/development/tools/kube-linter/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, testVersion, kube-linter }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, testers, kube-linter }:
2
2
3
3
buildGoModule rec {
4
4
pname = "kube-linter";
···
17
17
"-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
18
18
];
19
19
20
20
-
passthru.tests.version = testVersion {
20
20
+
passthru.tests.version = testers.testVersion {
21
21
package = kube-linter;
22
22
command = "kube-linter version";
23
23
};
+2
-2
pkgs/development/tools/quick-lint-js/default.nix
···
1
1
-
{ cmake, fetchFromGitHub, lib, ninja, stdenv, testVersion, quick-lint-js }:
1
1
+
{ cmake, fetchFromGitHub, lib, ninja, stdenv, testers, quick-lint-js }:
2
2
3
3
4
4
stdenv.mkDerivation rec {
···
16
16
doCheck = true;
17
17
18
18
passthru.tests = {
19
19
-
version = testVersion { package = quick-lint-js; };
19
19
+
version = testers.testVersion { package = quick-lint-js; };
20
20
};
21
21
22
22
meta = with lib; {
+2
-2
pkgs/development/tools/selenium/chromedriver/default.nix
···
2
2
, cairo, fontconfig, freetype, gdk-pixbuf, glib
3
3
, glibc, gtk2, libX11, nspr, nss, pango
4
4
, libxcb, libXi, libXrender, libXext, dbus
5
5
-
, testVersion, chromedriver
5
5
+
, testers, chromedriver
6
6
}:
7
7
8
8
let
···
56
56
wrapProgram "$out/bin/chromedriver" --prefix LD_LIBRARY_PATH : "${libs}"
57
57
'';
58
58
59
59
-
passthru.tests.version = testVersion { package = chromedriver; };
59
59
+
passthru.tests.version = testers.testVersion { package = chromedriver; };
60
60
61
61
meta = with lib; {
62
62
homepage = "https://chromedriver.chromium.org/";
+2
-2
pkgs/development/tools/sq/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, sq }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, sq }:
2
2
buildGoModule rec {
3
3
pname = "sq";
4
4
version = "0.15.4";
···
29
29
'';
30
30
31
31
passthru.tests = {
32
32
-
version = testVersion { package = sq; };
32
32
+
version = testers.testVersion { package = sq; };
33
33
};
34
34
35
35
meta = with lib; {
+2
-2
pkgs/development/tools/yarn/default.nix
···
1
1
-
{ lib, stdenv, nodejs, fetchzip, testVersion, yarn }:
1
1
+
{ lib, stdenv, nodejs, fetchzip, testers, yarn }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "yarn";
···
18
18
ln -s $out/libexec/yarn/bin/yarn.js $out/bin/yarnpkg
19
19
'';
20
20
21
21
-
passthru.tests = testVersion { package = yarn; };
21
21
+
passthru.tests = testers.testVersion { package = yarn; };
22
22
23
23
meta = with lib; {
24
24
homepage = "https://yarnpkg.com/";
+2
-2
pkgs/games/lgogdownloader/default.nix
···
11
11
, rhash
12
12
, tinyxml-2
13
13
, help2man
14
14
-
, testVersion
14
14
+
, testers
15
15
, lgogdownloader
16
16
}:
17
17
···
43
43
];
44
44
45
45
passthru.tests = {
46
46
-
version = testVersion { package = lgogdownloader; };
46
46
+
version = testers.testVersion { package = lgogdownloader; };
47
47
};
48
48
49
49
meta = with lib; {
+2
-2
pkgs/games/opensupaplex/default.nix
···
4
4
, fetchurl
5
5
, makeDesktopItem
6
6
, copyDesktopItems
7
7
-
, testVersion
7
7
+
, testers
8
8
, opensupaplex
9
9
, SDL2
10
10
, SDL2_mixer
···
62
62
runHook postInstall
63
63
'';
64
64
65
65
-
passthru.tests.version = testVersion {
65
65
+
passthru.tests.version = testers.testVersion {
66
66
package = opensupaplex;
67
67
command = "opensupaplex --help";
68
68
version = "v${version}";
+2
-2
pkgs/games/warzone2100/default.nix
···
26
26
, vulkan-loader
27
27
, shaderc
28
28
29
29
-
, testVersion
29
29
+
, testers
30
30
, warzone2100
31
31
32
32
, withVideos ? false
···
104
104
'';
105
105
106
106
passthru.tests = {
107
107
-
version = testVersion {
107
107
+
version = testers.testVersion {
108
108
package = warzone2100;
109
109
# The command always exits with code 1
110
110
command = "(warzone2100 --version || [ $? -eq 1 ])";
+2
-2
pkgs/servers/monitoring/prometheus/promscale/default.nix
···
2
2
, buildGoModule
3
3
, fetchFromGitHub
4
4
, promscale
5
5
-
, testVersion
5
5
+
, testers
6
6
}:
7
7
8
8
buildGoModule rec {
···
40
40
runHook postCheck
41
41
'';
42
42
43
43
-
passthru.tests.version = testVersion {
43
43
+
passthru.tests.version = testers.testVersion {
44
44
package = promscale;
45
45
command = "promscale -version";
46
46
};
+2
-2
pkgs/servers/stayrtr/default.nix
···
2
2
, fetchFromGitHub
3
3
, buildGoModule
4
4
, stayrtr
5
5
-
, testVersion
5
5
+
, testers
6
6
}:
7
7
8
8
buildGoModule rec {
···
23
23
"-X main.version=${version}"
24
24
];
25
25
26
26
-
passthru.tests.version = testVersion {
26
26
+
passthru.tests.version = testers.testVersion {
27
27
package = stayrtr;
28
28
};
29
29
+2
-2
pkgs/tools/admin/colmena/default.nix
···
1
1
-
{ stdenv, lib, rustPlatform, fetchFromGitHub, installShellFiles, colmena, testVersion }:
1
1
+
{ stdenv, lib, rustPlatform, fetchFromGitHub, installShellFiles, colmena, testers }:
2
2
3
3
rustPlatform.buildRustPackage rec {
4
4
pname = "colmena";
···
29
29
# We guarantee CLI and Nix API stability for the same minor version
30
30
apiVersion = builtins.concatStringsSep "." (lib.take 2 (lib.splitString "." version));
31
31
32
32
-
tests.version = testVersion { package = colmena; };
32
32
+
tests.version = testers.testVersion { package = colmena; };
33
33
};
34
34
35
35
meta = with lib; {
+2
-2
pkgs/tools/archivers/7zz/default.nix
···
12
12
13
13
# For tests
14
14
, _7zz
15
15
-
, testVersion
15
15
+
, testers
16
16
}:
17
17
18
18
let
···
79
79
80
80
passthru = {
81
81
updateScript = ./update.sh;
82
82
-
tests.version = testVersion {
82
82
+
tests.version = testers.testVersion {
83
83
package = _7zz;
84
84
command = "7zz --help";
85
85
};
+2
-2
pkgs/tools/backup/discordchatexporter-cli/default.nix
···
2
2
, buildDotnetModule
3
3
, fetchFromGitHub
4
4
, dotnetCorePackages
5
5
-
, testVersion
5
5
+
, testers
6
6
, discordchatexporter-cli
7
7
}:
8
8
···
29
29
30
30
passthru = {
31
31
updateScript = ./updater.sh;
32
32
-
tests.version = testVersion {
32
32
+
tests.version = testers.testVersion {
33
33
package = discordchatexporter-cli;
34
34
version = "v${version}";
35
35
};
+2
-2
pkgs/tools/compression/pxz/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
-
, testVersion
4
4
+
, testers
5
5
, pxz
6
6
, xz
7
7
}:
···
34
34
"MANDIR=${placeholder "out"}/share/man"
35
35
];
36
36
37
37
-
passthru.tests.version = testVersion {
37
37
+
passthru.tests.version = testers.testVersion {
38
38
package = pxz;
39
39
};
40
40
+2
-2
pkgs/tools/filesystems/garage/default.nix
···
1
1
-
{ lib, rustPlatform, fetchFromGitea, protobuf, testVersion, garage }:
1
1
+
{ lib, rustPlatform, fetchFromGitea, protobuf, testers, garage }:
2
2
rustPlatform.buildRustPackage rec {
3
3
pname = "garage";
4
4
version = "0.7.0";
···
16
16
nativeBuildInputs = [ protobuf ];
17
17
18
18
passthru = {
19
19
-
tests.version = testVersion { package = garage; };
19
19
+
tests.version = testers.testVersion { package = garage; };
20
20
};
21
21
22
22
meta = {
+2
-2
pkgs/tools/misc/adrgen/default.nix
···
1
1
{ lib
2
2
, buildGoModule
3
3
, fetchFromGitHub
4
4
-
, testVersion
4
4
+
, testers
5
5
, adrgen
6
6
}:
7
7
···
18
18
19
19
vendorSha256 = "sha256-aDtUD+KKKSE0TpSi4+6HXSBMqF/TROZZhT0ox3a8Idk=";
20
20
21
21
-
passthru.tests.version = testVersion {
21
21
+
passthru.tests.version = testers.testVersion {
22
22
package = adrgen;
23
23
command = "adrgen version";
24
24
version = "v${version}";
-1
pkgs/tools/misc/arch-install-scripts/default.nix
···
6
6
, coreutils
7
7
, gawk
8
8
, gnum4
9
9
-
, testVersion
10
9
, util-linux
11
10
}:
12
11
+2
-2
pkgs/tools/misc/czkawka/default.nix
···
8
8
, gdk-pixbuf
9
9
, atk
10
10
, gtk3
11
11
-
, testVersion
11
11
+
, testers
12
12
, czkawka
13
13
}:
14
14
···
38
38
gtk3
39
39
];
40
40
41
41
-
passthru.tests.version = testVersion {
41
41
+
passthru.tests.version = testers.testVersion {
42
42
package = czkawka;
43
43
command = "czkawka_cli --version";
44
44
};
+2
-2
pkgs/tools/misc/datefmt/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, datefmt, testVersion }:
1
1
+
{ lib, stdenv, fetchurl, datefmt, testers }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "datefmt";
···
11
11
12
12
makeFlags = [ "PREFIX=$(out)" ];
13
13
14
14
-
passthru.tests.version = testVersion { package = datefmt; };
14
14
+
passthru.tests.version = testers.testVersion { package = datefmt; };
15
15
16
16
meta = with lib; {
17
17
homepage = "https://jb55.com/datefmt";
+2
-2
pkgs/tools/misc/dsq/default.nix
···
5
5
, runCommand
6
6
, nix-update-script
7
7
, dsq
8
8
-
, testVersion
8
8
+
, testers
9
9
, diffutils
10
10
}:
11
11
···
30
30
updateScript = nix-update-script { attrPath = pname; };
31
31
32
32
tests = {
33
33
-
version = testVersion { package = dsq; };
33
33
+
version = testers.testVersion { package = dsq; };
34
34
35
35
pretty-csv = runCommand "${pname}-test" { } ''
36
36
mkdir "$out"
+2
-2
pkgs/tools/misc/gummy/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
-
, testVersion
4
4
+
, testers
5
5
, gummy
6
6
, cmake
7
7
, libX11
···
51
51
ln -s $out/libexec/gummyd $out/bin/gummyd
52
52
'';
53
53
54
54
-
passthru.tests.version = testVersion { package = gummy; };
54
54
+
passthru.tests.version = testers.testVersion { package = gummy; };
55
55
56
56
meta = with lib; {
57
57
homepage = "https://github.com/Fushko/gummy";
+2
-2
pkgs/tools/misc/lsd/default.nix
···
2
2
, fetchFromGitHub
3
3
, rustPlatform
4
4
, installShellFiles
5
5
-
, testVersion
5
5
+
, testers
6
6
, lsd
7
7
}:
8
8
···
27
27
# Found argument '--test-threads' which wasn't expected, or isn't valid in this context
28
28
doCheck = false;
29
29
30
30
-
passthru.tests.version = testVersion {
30
30
+
passthru.tests.version = testers.testVersion {
31
31
package = lsd;
32
32
};
33
33
+2
-2
pkgs/tools/misc/zellij/default.nix
···
10
10
, Foundation
11
11
, mandown
12
12
, zellij
13
13
-
, testVersion
13
13
+
, testers
14
14
}:
15
15
16
16
rustPlatform.buildRustPackage rec {
···
54
54
--zsh <($out/bin/zellij setup --generate-completion zsh)
55
55
'';
56
56
57
57
-
passthru.tests.version = testVersion { package = zellij; };
57
57
+
passthru.tests.version = testers.testVersion { package = zellij; };
58
58
59
59
meta = with lib; {
60
60
description = "A terminal workspace with batteries included";
+2
-2
pkgs/tools/networking/clash/default.nix
···
1
1
-
{ lib, fetchFromGitHub, buildGoModule, testVersion, clash }:
1
1
+
{ lib, fetchFromGitHub, buildGoModule, testers, clash }:
2
2
3
3
buildGoModule rec {
4
4
pname = "clash";
···
26
26
"-X github.com/Dreamacro/clash/constant.Version=${version}"
27
27
];
28
28
29
29
-
passthru.tests.version = testVersion {
29
29
+
passthru.tests.version = testers.testVersion {
30
30
package = clash;
31
31
command = "clash -v";
32
32
};
+2
-2
pkgs/tools/networking/curlie/default.nix
···
1
1
-
{ buildGoModule, fetchFromGitHub, lib, curlie, testVersion }:
1
1
+
{ buildGoModule, fetchFromGitHub, lib, curlie, testers }:
2
2
3
3
buildGoModule rec {
4
4
pname = "curlie";
···
15
15
16
16
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
17
17
18
18
-
passthru.tests.version = testVersion {
18
18
+
passthru.tests.version = testers.testVersion {
19
19
package = curlie;
20
20
command = "curlie version";
21
21
};
+3
-3
pkgs/tools/networking/innernet/default.nix
···
8
8
, Security
9
9
, libiconv
10
10
, innernet
11
11
-
, testVersion
11
11
+
, testers
12
12
}:
13
13
14
14
rustPlatform.buildRustPackage rec {
···
40
40
'';
41
41
42
42
passthru.tests = {
43
43
-
serverVersion = testVersion { package = innernet; command = "innernet-server --version"; };
44
44
-
version = testVersion { package = innernet; command = "innernet --version"; };
43
43
+
serverVersion = testers.testVersion { package = innernet; command = "innernet-server --version"; };
44
44
+
version = testers.testVersion { package = innernet; command = "innernet --version"; };
45
45
};
46
46
47
47
meta = with lib; {
+2
-2
pkgs/tools/networking/pmacct/default.nix
···
13
13
, withPgSQL ? true, postgresql
14
14
, withMysql ? true, libmysqlclient, zlib, numactl
15
15
, gnutlsSupport ? false, gnutls
16
16
-
, testVersion
16
16
+
, testers
17
17
, pmacct
18
18
}:
19
19
···
55
55
++ lib.optional gnutlsSupport "--enable-gnutls";
56
56
57
57
passthru.tests = {
58
58
-
version = testVersion { package = pmacct; command = "pmacct -V"; };
58
58
+
version = testers.testVersion { package = pmacct; command = "pmacct -V"; };
59
59
};
60
60
61
61
meta = with lib; {
+2
-2
pkgs/tools/networking/smartdns/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, openssl, testVersion, smartdns }:
1
1
+
{ lib, stdenv, fetchFromGitHub, openssl, testers, smartdns }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "smartdns";
···
24
24
installFlags = [ "SYSCONFDIR=${placeholder "out"}/etc" ];
25
25
26
26
passthru.tests = {
27
27
-
version = testVersion { package = smartdns; };
27
27
+
version = testers.testVersion { package = smartdns; };
28
28
};
29
29
30
30
meta = with lib; {
+2
-2
pkgs/tools/nix/alejandra/default.nix
···
1
1
{ lib
2
2
, rustPlatform
3
3
, fetchFromGitHub
4
4
-
, testVersion
4
4
+
, testers
5
5
, alejandra
6
6
}:
7
7
···
19
19
cargoSha256 = "sha256-SsIpggbRQPjpCYgCG4sSJ022MmMV4bJJ8UAHcJR74O8=";
20
20
21
21
passthru.tests = {
22
22
-
version = testVersion { package = alejandra; };
22
22
+
version = testers.testVersion { package = alejandra; };
23
23
};
24
24
25
25
meta = with lib; {
+2
-2
pkgs/tools/system/s-tui/default.nix
···
3
3
, python3Packages
4
4
, nix-update-script
5
5
, s-tui
6
6
-
, testVersion
6
6
+
, testers
7
7
}:
8
8
9
9
python3Packages.buildPythonPackage rec {
···
22
22
23
23
passthru = {
24
24
updateScript = nix-update-script { attrPath = pname; };
25
25
-
tests = testVersion { package = s-tui; };
25
25
+
tests = testers.testVersion { package = s-tui; };
26
26
};
27
27
28
28
meta = with lib; {
+2
-2
pkgs/tools/text/crowdin-cli/default.nix
···
8
8
, jre
9
9
, makeWrapper
10
10
, crowdin-cli
11
11
-
, testVersion
11
11
+
, testers
12
12
, unzip
13
13
}:
14
14
···
38
38
runHook postInstall
39
39
'';
40
40
41
41
-
passthru.tests.version = testVersion { package = crowdin-cli; };
41
41
+
passthru.tests.version = testers.testVersion { package = crowdin-cli; };
42
42
43
43
meta = with lib; {
44
44
mainProgram = "crowdin";
+2
-2
pkgs/tools/text/difftastic/default.nix
···
1
1
-
{ lib, fetchFromGitHub, rustPlatform, tree-sitter, difftastic, testVersion }:
1
1
+
{ lib, fetchFromGitHub, rustPlatform, tree-sitter, difftastic, testers }:
2
2
3
3
rustPlatform.buildRustPackage rec {
4
4
pname = "difftastic";
···
13
13
14
14
cargoSha256 = "1kmwd9m94kl3j6ajfndr7rjx66fsqvnn2jh0m54ac5qd5r9hhdc8";
15
15
16
16
-
passthru.tests.version = testVersion { package = difftastic; };
16
16
+
passthru.tests.version = testers.testVersion { package = difftastic; };
17
17
18
18
meta = with lib; {
19
19
description = "A syntax-aware diff";
+2
-2
pkgs/tools/text/igrep/default.nix
···
3
3
, fetchFromGitHub
4
4
, stdenv
5
5
, Security
6
6
-
, testVersion
6
6
+
, testers
7
7
, igrep
8
8
}:
9
9
···
23
23
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
24
24
25
25
passthru.tests = {
26
26
-
version = testVersion { package = igrep; command = "ig --version"; };
26
26
+
version = testers.testVersion { package = igrep; command = "ig --version"; };
27
27
};
28
28
29
29
meta = with lib; {
+2
-2
pkgs/tools/text/mdbook-linkcheck/default.nix
···
1
1
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, Security
2
2
-
, testVersion, mdbook-linkcheck }:
2
2
+
, testers, mdbook-linkcheck }:
3
3
4
4
rustPlatform.buildRustPackage rec {
5
5
pname = "mdbook-linkcheck";
···
22
22
23
23
doCheck = false; # tries to access network to test broken web link functionality
24
24
25
25
-
passthru.tests.version = testVersion { package = mdbook-linkcheck; };
25
25
+
passthru.tests.version = testers.testVersion { package = mdbook-linkcheck; };
26
26
27
27
meta = with lib; {
28
28
description = "A backend for `mdbook` which will check your links for you.";