lol

treewide: testVersion -> testers.testVersion

Artturin f1c7f19e 250ef1ff

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