treewide: switch to nativeCheckInputs

checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
This commit is contained in:
Guillaume Girol 2023-01-21 12:00:00 +00:00
parent 25193e2732
commit 33afbf39f6
4183 changed files with 4228 additions and 4228 deletions

View file

@ -31,7 +31,7 @@ python3Packages.buildPythonApplication rec {
++ extraPythonPackages python3Packages; ++ extraPythonPackages python3Packages;
doCheck = true; doCheck = true;
checkInputs = with python3Packages; [ mypy pylint black ]; nativeCheckInputs = with python3Packages; [ mypy pylint black ];
checkPhase = '' checkPhase = ''
mypy --disallow-untyped-defs \ mypy --disallow-untyped-defs \
--no-implicit-optional \ --no-implicit-optional \

View file

@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
++ lib.optional podcastSupport python3.pkgs.feedparser ++ lib.optional podcastSupport python3.pkgs.feedparser
++ lib.optional wikipediaSupport webkitgtk; ++ lib.optional wikipediaSupport webkitgtk;
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
pytest pytest
]; ];

View file

@ -41,7 +41,7 @@ python3Packages.buildPythonApplication rec {
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
minimock minimock
pytest pytest
pytest-httpserver pytest-httpserver

View file

@ -13,7 +13,7 @@ in stdenv.mkDerivation {
sha256 = "05c6zskj50g29f51lx8fvgzsi3f31z01zj6ssjjrgr7jfs7ak70p"; sha256 = "05c6zskj50g29f51lx8fvgzsi3f31z01zj6ssjjrgr7jfs7ak70p";
}; };
checkInputs = (with dotnetPackages; [ NUnitConsole ]); nativeCheckInputs = (with dotnetPackages; [ NUnitConsole ]);
nativeBuildInputs = [ mono makeWrapper ]; nativeBuildInputs = [ mono makeWrapper ];
buildPhase = '' buildPhase = ''

View file

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
Cocoa Cocoa
]; ];
checkInputs = [ nativeCheckInputs = [
cppunit cppunit
]; ];

View file

@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
python3Packages.uritools python3Packages.uritools
]; ];
checkInputs = [ nativeCheckInputs = [
python3Packages.pytestCheckHook python3Packages.pytestCheckHook
]; ];

View file

@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec {
python3Packages.uritools python3Packages.uritools
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec {
propagatedBuildInputs = [ mopidy pythonPackages.py-sonic ]; propagatedBuildInputs = [ mopidy pythonPackages.py-sonic ];
checkInputs = with pythonPackages; [ pytestCheckHook ]; nativeCheckInputs = with pythonPackages; [ pytestCheckHook ];
meta = with lib; { meta = with lib; {
homepage = "https://www.mopidy.com/"; homepage = "https://www.mopidy.com/";

View file

@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec {
python3Packages.tidalapi python3Packages.tidalapi
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
pytest-mock pytest-mock
]; ];

View file

@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
mopidy mopidy
]; ];
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
vcrpy vcrpy
pytestCheckHook pytestCheckHook
]; ];

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]); nativeCheckInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]);
checkPhase = '' checkPhase = ''
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"

View file

@ -119,7 +119,7 @@ python3.pkgs.buildPythonApplication rec {
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
checkInputs = [ nativeCheckInputs = [
dbus dbus
gdk-pixbuf gdk-pixbuf
glibcLocales glibcLocales

View file

@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
]; ];
propagatedBuildInputs = with python3Packages; [ crcmod ffmpeg-python mutagen tqdm ]; propagatedBuildInputs = with python3Packages; [ crcmod ffmpeg-python mutagen tqdm ];
checkInputs = with python3Packages; [ requests sox ]; nativeCheckInputs = with python3Packages; [ requests sox ];
# Testing downloads media files for testing, which requires the # Testing downloads media files for testing, which requires the
# sandbox to be disabled. # sandbox to be disabled.

View file

@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
"-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}" "-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}"
]; ];
checkInputs = [ gtest ]; nativeCheckInputs = [ gtest ];
doCheck = !stdenv.isAarch64; # single failure that I can't explain doCheck = !stdenv.isAarch64; # single failure that I can't explain
preFixup = '' preFixup = ''

View file

@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
libnotify libnotify
] ++ gst_plugins; ] ++ gst_plugins;
checkInputs = [ nativeCheckInputs = [
check check
]; ];

View file

@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
fmt fmt
]; ];
checkInputs = [ nativeCheckInputs = [
parallel parallel
ruby ruby
supercollider-with-sc3-plugins supercollider-with-sc3-plugins

View file

@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec {
python3Packages.pygobject3 python3Packages.pygobject3
]; ];
checkInputs = [ nativeCheckInputs = [
xvfb-run xvfb-run
]; ];

View file

@ -73,7 +73,7 @@ python3Packages.buildPythonApplication rec {
# https://github.com/NixOS/nixpkgs/issues/56943 # https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false; strictDeps = false;
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytest pytest
]; ];

View file

@ -56,7 +56,7 @@ in python3.pkgs.buildPythonApplication rec {
buildInputs = [ libsndfile ]; buildInputs = [ libsndfile ];
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
twisted twisted
] ++ bins; ] ++ bins;

View file

@ -95,7 +95,7 @@ in stdenv.mkDerivation rec {
++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON"; ++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON";
doCheck = true; doCheck = true;
checkInputs = [ cxxtest ruby ]; nativeCheckInputs = [ cxxtest ruby ];
# TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829 # TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829
checkPhase = let checkPhase = let

View file

@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec {
pyunifiprotect pyunifiprotect
]; ];
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec {
) )
''; '';
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytest-qt pytest-qt
pytest-mock pytest-mock
pytestCheckHook pytestCheckHook

View file

@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
]; ];
checkInputs = [ python3 ]; nativeCheckInputs = [ python3 ];
doCheck = true; doCheck = true;

View file

@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
]; ];
checkInputs = [ python3 ]; nativeCheckInputs = [ python3 ];
doCheck = true; doCheck = true;

View file

@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
pytimeparse pytimeparse
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ];

View file

@ -64,7 +64,7 @@ let chia = python3Packages.buildPythonApplication rec {
zstd zstd
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/issues/179474 # https://github.com/NixOS/nixpkgs/issues/179474
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "fortify" "stackprotector" ]; hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "fortify" "stackprotector" ];
checkInputs = [ python3 ]; nativeCheckInputs = [ python3 ];
doCheck = true; doCheck = true;

View file

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
]; ];
checkInputs = [ python3 ]; nativeCheckInputs = [ python3 ];
checkFlags = [ "LC_ALL=en_US.UTF-8" ] checkFlags = [ "LC_ALL=en_US.UTF-8" ]
# QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Groestlcoin's GUI. # QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Groestlcoin's GUI.

View file

@ -87,7 +87,7 @@ rustPlatform.buildRustPackage rec {
"--skip subnet_service::tests::sync_committee_service::subscribe_and_unsubscribe" "--skip subnet_service::tests::sync_committee_service::subscribe_and_unsubscribe"
]; ];
checkInputs = [ nativeCheckInputs = [
nodePackages.ganache nodePackages.ganache
]; ];

View file

@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false; doCheck = false;
# all the following are needed for the checkphase # all the following are needed for the checkphase
# checkInputs = lib.optionals stdenv.isDarwin [ pkg-config rustfmt ]; # nativeCheckInputs = lib.optionals stdenv.isDarwin [ pkg-config rustfmt ];
# Needed to get openssl-sys to use pkg-config. # Needed to get openssl-sys to use pkg-config.
# OPENSSL_NO_VENDOR = 1; # OPENSSL_NO_VENDOR = 1;
# OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib"; # OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";

View file

@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
webkitgtk_5_0 webkitgtk_5_0
]; ];
checkInputs = [ nativeCheckInputs = [
dbus dbus
xvfb-run xvfb-run
]; ];

View file

@ -96,7 +96,7 @@ in
]; ];
# extra programs test via `make functionaltest` # extra programs test via `make functionaltest`
checkInputs = [ nativeCheckInputs = [
fish fish
nodejs nodejs
pyEnv # for src/clint.py pyEnv # for src/clint.py

View file

@ -30,7 +30,7 @@ with python3.pkgs; buildPythonApplication rec {
setuptools setuptools
]; ];
checkInputs = [ nativeCheckInputs = [
neovim neovim
pytestCheckHook pytestCheckHook
]; ];

View file

@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = !isCross; doCheck = !isCross;
checkInputs = lib.optionals (!isCross) [ dejagnu ]; nativeCheckInputs = lib.optionals (!isCross) [ dejagnu ];
postInstall = '' postInstall = ''
moveToOutput share/emacs "$out" moveToOutput share/emacs "$out"

View file

@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
zstd zstd
]; ];
checkInputs = [ zoxide ]; nativeCheckInputs = [ zoxide ];
buildFeatures = [ "zstd/pkg-config" ]; buildFeatures = [ "zstd/pkg-config" ];

View file

@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
checkInputs = with python3Packages; [ pytestCheckHook ]; nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
less less
file file

View file

@ -51,7 +51,7 @@ let
inherit version; inherit version;
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
}; };
checkInputs = old.checkInputs ++ (with self; [ nativeCheckInputs = old.nativeCheckInputs ++ (with self; [
requests requests
]); ]);
disabledTests = old.disabledTests ++ [ disabledTests = old.disabledTests ++ [

View file

@ -37,7 +37,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
makeWrapperArgs+=("''${qtWrapperArgs[@]}") makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; '';
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytest pytest
pytest-xvfb pytest-xvfb
pytest-mock pytest-mock

View file

@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0"; sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
}; };
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytest-xdist responses pytestCheckHook pytest-xdist responses
]; ];

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
--add-flags '--theme=feh' --add-flags '--theme=feh'
''; '';
checkInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ])); nativeCheckInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ]));
doCheck = true; doCheck = true;
meta = with lib; { meta = with lib; {

View file

@ -89,7 +89,7 @@ perlPackages.buildPerlPackage rec {
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
checkInputs = [ nativeCheckInputs = [
imagemagick imagemagick
libtiff libtiff
djvulibre djvulibre

View file

@ -51,7 +51,7 @@ python3Packages.buildPythonPackage rec {
twisted twisted
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
nose nose
mock mock
httmock httmock

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation {
sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI="; sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI=";
}; };
checkInputs = [ nativeCheckInputs = [
python3.pkgs.inkex python3.pkgs.inkex
python3.pkgs.pytestCheckHook python3.pkgs.pytestCheckHook
]; ];

View file

@ -74,7 +74,7 @@ in buildPythonApplication rec {
pygobject3 pygobject3
]; ];
checkInputs = [ nativeCheckInputs = [
gtk3 gtk3
]; ];

View file

@ -21,7 +21,7 @@ buildPythonApplication rec {
python-dateutil python-dateutil
]; ];
checkInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -28,7 +28,7 @@ with python3.pkgs; buildPythonApplication rec {
sha256 = "sha256-7piJK1hz9h6EWiU/q5MAS1PSvHFxnW7rZBKxq+wda1c="; sha256 = "sha256-7piJK1hz9h6EWiU/q5MAS1PSvHFxnW7rZBKxq+wda1c=";
}; };
checkInputs = [ nativeCheckInputs = [
hypothesis hypothesis
pytest pytest
pytest-vcr pytest-vcr

View file

@ -67,7 +67,7 @@ buildPythonApplication rec {
pango pango
]; ];
checkInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -20,7 +20,7 @@ in pythonPackages.buildPythonApplication rec {
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ]; propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
checkInputs = with pythonPackages; [ pytest mock ]; nativeCheckInputs = with pythonPackages; [ pytest mock ];
postPatch = '' postPatch = ''
substituteInPlace requirements.txt \ substituteInPlace requirements.txt \

View file

@ -53,7 +53,7 @@ buildPythonApplication rec {
click click
]; ];
checkInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { meta = with lib; {
description = "CLI for querying Databricks SQL"; description = "CLI for querying Databricks SQL";

View file

@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
watchdog watchdog
] ++ typer.optional-dependencies.all; ] ++ typer.optional-dependencies.all;
checkInputs = [ nativeCheckInputs = [
git git
] ++ (with python3.pkgs; [ ] ++ (with python3.pkgs; [
pytest-asyncio pytest-asyncio

View file

@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
# No tests in archive # No tests in archive
doCheck = false; doCheck = false;
checkInputs = with python3Packages; [ pytest ]; nativeCheckInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [ click ]; propagatedBuildInputs = with python3Packages; [ click ];
meta = with lib; { meta = with lib; {

View file

@ -34,7 +34,7 @@ python3Packages.buildPythonApplication rec {
"NO_VENV=1" "NO_VENV=1"
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
]; ];
preCheck = '' preCheck = ''

View file

@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec {
--replace "(share_dir" "(\"share\"" --replace "(share_dir" "(\"share\""
''; '';
checkInputs = with python3Packages; [ pytest ]; nativeCheckInputs = with python3Packages; [ pytest ];
checkPhase = '' checkPhase = ''
unset HOME unset HOME

View file

@ -117,7 +117,7 @@ python3.pkgs.buildPythonApplication {
wrapQtApp $out/bin/electrum wrapQtApp $out/bin/electrum
''; '';
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
pytestFlagsArray = [ "electrum/tests" ]; pytestFlagsArray = [ "electrum/tests" ];

View file

@ -109,7 +109,7 @@ python3.pkgs.buildPythonApplication {
wrapQtApp $out/bin/electrum-ltc wrapQtApp $out/bin/electrum-ltc
''; '';
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
pytestFlagsArray = [ "electrum_ltc/tests" ]; pytestFlagsArray = [ "electrum_ltc/tests" ];

View file

@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
"-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}" "-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}"
]; ];
checkInputs = [ nativeCheckInputs = [
dbus dbus
]; ];

View file

@ -16,7 +16,7 @@ buildPythonApplication rec {
yt-dlp yt-dlp
]; ];
checkInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkg-config gettext check dbus ]; nativeBuildInputs = [ meson ninja pkg-config gettext check dbus ];
buildInputs = [ libintl libiconv json_c ]; buildInputs = [ libintl libiconv json_c ];
propagatedBuildInputs = [ glib gtk ]; propagatedBuildInputs = [ glib gtk ];
checkInputs = [ xvfb-run ]; nativeCheckInputs = [ xvfb-run ];
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;

View file

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
++ lib.optional withGUI qtserialport ++ lib.optional withGUI qtserialport
++ lib.optional (withGUI && withMapPreview) qtwebengine; ++ lib.optional (withGUI && withMapPreview) qtwebengine;
checkInputs = [ libxml2 which ]; nativeCheckInputs = [ libxml2 which ];
preConfigure = lib.optionalString withGUI '' preConfigure = lib.optionalString withGUI ''
lrelease gui/*.ts gui/coretool/*.ts lrelease gui/*.ts gui/coretool/*.ts

View file

@ -18,7 +18,7 @@ buildGoModule rec {
"-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}"
]; ];
checkInputs = [ nativeCheckInputs = [
kubectl kubectl
]; ];

View file

@ -52,7 +52,7 @@ buildPythonApplication rec {
# will fail without pre-seeded config files # will fail without pre-seeded config files
doCheck = false; doCheck = false;
checkInputs = [ unittestCheckHook mock ]; nativeCheckInputs = [ unittestCheckHook mock ];
unittestFlagsArray = [ "-s" "tests" "-v" ]; unittestFlagsArray = [ "-s" "tests" "-v" ];

View file

@ -23,7 +23,7 @@ buildPythonApplication rec {
sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az"; sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az";
}; };
checkInputs = [ manuel ]; nativeCheckInputs = [ manuel ];
propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ]; propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ];
meta = with lib; { meta = with lib; {

View file

@ -13,7 +13,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ openjdk ]; propagatedBuildInputs = [ openjdk ];
checkInputs = [ nose ]; nativeCheckInputs = [ nose ];
checkPhase = "PATH=$PATH:$out/bin nosetests"; checkPhase = "PATH=$PATH:$out/bin nosetests";
meta = with lib; { meta = with lib; {

View file

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ]; nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ lib.optional stdenv.isDarwin Security; ++ lib.optional stdenv.isDarwin Security;
checkInputs = [ gitMinimal util-linuxMinimal ]; nativeCheckInputs = [ gitMinimal util-linuxMinimal ];
cargoSha256 = "1vnrc72g2271i2p847z30kplxmdpi60n3dzpw0s7dahg33g14ai6"; cargoSha256 = "1vnrc72g2271i2p847z30kplxmdpi60n3dzpw0s7dahg33g14ai6";

View file

@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ pcre sqlite ]; buildInputs = [ pcre sqlite ];
propagatedBuildInputs = with python3.pkgs; [ click flask kanjidraw ]; propagatedBuildInputs = with python3.pkgs; [ click flask kanjidraw ];
checkInputs = [ nodejs ]; nativeCheckInputs = [ nodejs ];
preBuild = '' preBuild = ''
export JITEN_VERSION=${version} # override `git describe` export JITEN_VERSION=${version} # override `git describe`

View file

@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec {
rich rich
]; ];
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
pytest-bdd pytest-bdd
pytest-xdist pytest-xdist
pytestCheckHook pytestCheckHook

View file

@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
pynput pynput
]; ];
checkInputs = [ xvfb-run ]; nativeCheckInputs = [ xvfb-run ];
checkPhase = '' checkPhase = ''
xvfb-run python setup.py test xvfb-run python setup.py test
''; '';

View file

@ -47,7 +47,7 @@ python3.pkgs.buildPythonApplication rec {
urwid urwid
]; ];
checkInputs = with python3.pkgs;[ nativeCheckInputs = with python3.pkgs;[
freezegun freezegun
hypothesis hypothesis
packaging packaging

View file

@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
pugixml pugixml
]; ];
checkInputs = [ nativeCheckInputs = [
gtest gtest
]; ];

View file

@ -123,7 +123,7 @@ buildPythonApplication rec {
--replace "'libmagic.so.1'" "'${lib.getLib file}/lib/libmagic.so.1'" --replace "'libmagic.so.1'" "'${lib.getLib file}/lib/libmagic.so.1'"
''; '';
checkInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools; nativeCheckInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools;
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
# when running these tests inside build, based on free disk space. # when running these tests inside build, based on free disk space.
doCheck = false; doCheck = false;
checkTarget = "test"; checkTarget = "test";
checkInputs = [ which zstd pbzip2 ]; nativeCheckInputs = [ which zstd pbzip2 ];
installPhase = '' installPhase = ''
mkdir -p $out/{bin,share/{${pname}-${version},man/man1}} mkdir -p $out/{bin,share/{${pname}-${version},man/man1}}

View file

@ -11,7 +11,7 @@ buildPythonApplication rec {
sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z"; sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z";
}; };
checkInputs = [ nose ]; nativeCheckInputs = [ nose ];
checkPhase = "nosetests"; checkPhase = "nosetests";
meta = with lib; { meta = with lib; {

View file

@ -46,7 +46,7 @@ buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
''; '';
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
unittestCheckHook unittestCheckHook
]; ];

View file

@ -46,7 +46,7 @@ python3Packages.buildPythonApplication rec {
gtk3 gtk3
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
glibcLocales glibcLocales
pytest pytest
tox tox

View file

@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
./update_hack.patch ./update_hack.patch
]; ];
checkInputs = [ python3Packages.pytestCheckHook ]; nativeCheckInputs = [ python3Packages.pytestCheckHook ];
# disable test that fail (networking, etc) # disable test that fail (networking, etc)
disabledTests = [ disabledTests = [

View file

@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
setuptools setuptools
]; ];
checkInputs = [ nativeCheckInputs = [
git git
mercurial mercurial
patch patch

View file

@ -13,7 +13,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ git ]; propagatedBuildInputs = [ git ];
checkInputs = [ pytestCheckHook git ]; nativeCheckInputs = [ pytestCheckHook git ];
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = mu-repo; package = mu-repo;

View file

@ -136,7 +136,7 @@ let
py.pkgs.appdirs py.pkgs.appdirs
]; ];
checkInputs = with self; [ nativeCheckInputs = with self; [
ddt ddt
mock mock
pytestCheckHook pytestCheckHook

View file

@ -93,7 +93,7 @@ python3.pkgs.buildPythonApplication rec {
dconf dconf
]; ];
checkInputs = [ nativeCheckInputs = [
# for Onboard.SpellChecker.aspell_cmd doctests # for Onboard.SpellChecker.aspell_cmd doctests
(aspellWithDicts (dicts: with dicts; [ en ])) (aspellWithDicts (dicts: with dicts; [ en ]))

View file

@ -30,7 +30,7 @@ buildPythonPackage rec {
# #
# See also https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/ # See also https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/
#checkInputs = [ mock nose ]; #nativeCheckInputs = [ mock nose ];
nativeBuildInputs = [ qt5.qttools ]; nativeBuildInputs = [ qt5.qttools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
alembic alembic

View file

@ -50,7 +50,7 @@ python3.pkgs.buildPythonApplication rec {
secretstorage secretstorage
]; ];
checkInputs = nativeCheckInputs =
let let
ps = python3.pkgs; ps = python3.pkgs;
in in

View file

@ -25,7 +25,7 @@
# sed on many of the platforms Plover builds for # sed on many of the platforms Plover builds for
postPatch = "sed -i /PyQt5/d setup.cfg"; postPatch = "sed -i /PyQt5/d setup.cfg";
checkInputs = [ pytest mock ]; nativeCheckInputs = [ pytest mock ];
propagatedBuildInputs = [ babel pyqt5 xlib pyserial appdirs wcwidth setuptools ]; propagatedBuildInputs = [ babel pyqt5 xlib pyserial appdirs wcwidth setuptools ];
dontWrapQtApps = true; dontWrapQtApps = true;

View file

@ -32,7 +32,7 @@ let
inherit version; inherit version;
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
}; };
checkInputs = old.checkInputs ++ (with self; [ nativeCheckInputs = old.nativeCheckInputs ++ (with self; [
requests requests
]); ]);
doCheck = false; doCheck = false;
@ -81,7 +81,7 @@ let
# however `click-7` is needed by the older flask we need here. Since it's just # however `click-7` is needed by the older flask we need here. Since it's just
# for the test-suite apparently, let's skip it for now. # for the test-suite apparently, let's skip it for now.
Mako = super.Mako.overridePythonAttrs (lib.const { Mako = super.Mako.overridePythonAttrs (lib.const {
checkInputs = []; nativeCheckInputs = [];
doCheck = false; doCheck = false;
}); });
}; };
@ -119,7 +119,7 @@ python3'.pkgs.buildPythonPackage rec {
passthru.tests = { inherit (nixosTests) privacyidea; }; passthru.tests = { inherit (nixosTests) privacyidea; };
checkInputs = with python3'.pkgs; [ openssl mock pytestCheckHook responses testfixtures ]; nativeCheckInputs = with python3'.pkgs; [ openssl mock pytestCheckHook responses testfixtures ];
preCheck = "export HOME=$(mktemp -d)"; preCheck = "export HOME=$(mktemp -d)";
postCheck = "unset HOME"; postCheck = "unset HOME";
disabledTests = [ disabledTests = [

View file

@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
xorg.libX11 xorg.libX11
] ++ lib.optionals withSystemd [ ] ++ lib.optionals withSystemd [
systemd systemd
] ++ checkInputs; ] ++ nativeCheckInputs;
patches = [ patches = [
# Fix detection of TBB, see https://github.com/prusa3d/PrusaSlicer/issues/6355 # Fix detection of TBB, see https://github.com/prusa3d/PrusaSlicer/issues/6355
@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
]; ];
doCheck = true; doCheck = true;
checkInputs = [ gtest ]; nativeCheckInputs = [ gtest ];
separateDebugInfo = true; separateDebugInfo = true;

View file

@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5"; sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
}; };
checkInputs = [ pytest-runner pytest ]; nativeCheckInputs = [ pytest-runner pytest ];
meta = with lib; { meta = with lib; {
homepage = "http://python-cerberus.org/"; homepage = "http://python-cerberus.org/";

View file

@ -15,7 +15,7 @@ in buildPythonApplication rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ]; propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
checkInputs = [ unittestCheckHook ]; nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; { meta = with lib; {
homepage = "https://pythonhosted.org/pyditz/"; homepage = "https://pythonhosted.org/pyditz/";

View file

@ -63,7 +63,7 @@ in python.pkgs.buildPythonApplication rec {
"--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ]) "--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ])
]; ];
checkInputs = [ nativeCheckInputs = [
glibcLocales glibcLocales
perl perl
xvfb-run xvfb-run

View file

@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
setuptools # needs pkg_resources setuptools # needs pkg_resources
]; ];
checkInputs = [ nativeCheckInputs = [
ffmpeg ffmpeg
] ++ (with python3.pkgs; [ ] ++ (with python3.pkgs; [
pytestCheckHook pytestCheckHook

View file

@ -16,7 +16,7 @@ buildGoModule rec {
sha256 = "sha256-K8VsqaNUPxh3/Yddy6DFiOyjRuZ6r6bU456Pm31A1og="; sha256 = "sha256-K8VsqaNUPxh3/Yddy6DFiOyjRuZ6r6bU456Pm31A1og=";
}; };
checkInputs = [ nativeCheckInputs = [
bash bash
go go
]; ];

View file

@ -79,7 +79,7 @@ python3Packages.buildPythonApplication rec {
xlib xlib
]; ];
checkInputs = [ nativeCheckInputs = [
xvfb-run xvfb-run
python3Packages.pytest python3Packages.pytest
python3Packages.hypothesis-auto python3Packages.hypothesis-auto

View file

@ -118,7 +118,7 @@ python.pkgs.pythonPackages.buildPythonPackage rec {
runHook postInstall runHook postInstall
''; '';
checkInputs = with python.pkgs; [ nativeCheckInputs = with python.pkgs; [
pytestCheckHook pytestCheckHook
pytest-django pytest-django
pytest-factoryboy pytest-factoryboy

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
buildInputs = [ sqlite zlib ]; buildInputs = [ sqlite zlib ];
checkInputs = [ perl ]; nativeCheckInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];

View file

@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-qZk42zGHWpeN5rZPFw7xAmDIvhPzqTePU3If+p/L98c="; sha256 = "sha256-qZk42zGHWpeN5rZPFw7xAmDIvhPzqTePU3If+p/L98c=";
}; };
checkInputs = with python3Packages; [ pytest ]; nativeCheckInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; propagatedBuildInputs = with python3Packages;
[ requests beautifulsoup4 future wcwidth urwid psycopg2 ]; [ requests beautifulsoup4 future wcwidth urwid psycopg2 ];

View file

@ -22,7 +22,7 @@ buildPythonApplication rec {
watchdog watchdog
]; ];
checkInputs = [ unittestCheckHook mock freezegun pylint ]; nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
# Skip test that has been reported multiple times upstream without result: # Skip test that has been reported multiple times upstream without result:
# bram85/topydo#271, bram85/topydo#274. # bram85/topydo#271, bram85/topydo#274.

View file

@ -39,7 +39,7 @@ python3Packages.buildPythonApplication rec {
gtk3 gobject-introspection gtk3 gobject-introspection
glib glib
]; ];
checkInputs = with python3Packages; [ flake8 pytest ]; nativeCheckInputs = with python3Packages; [ flake8 pytest ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
svgwrite pyxdg pycairo pygobject3 setuptools-scm svgwrite pyxdg pycairo pygobject3 setuptools-scm
]; ];

View file

@ -19,7 +19,7 @@ buildPythonApplication rec {
py.test py.test
''; '';
checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ]; nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests six ]; propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests six ];

View file

@ -70,7 +70,7 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
''; '';
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
pytestCheckHook pytestCheckHook
]; ];

View file

@ -62,7 +62,7 @@ python3Packages.buildPythonApplication rec {
websocket-client websocket-client
]; ];
checkInputs = with python3Packages; [ nativeCheckInputs = with python3Packages; [
mock mock
pytest pytest
pytest-mock pytest-mock

View file

@ -71,7 +71,7 @@ buildPythonApplication rec {
] ++ lib.optionals withPcap [ dpkt dnslib ] ] ++ lib.optionals withPcap [ dpkt dnslib ]
++ lib.optional withXclip xclip; ++ lib.optional withXclip xclip;
checkInputs = [ nativeCheckInputs = [
git git
]; ];

View file

@ -21,7 +21,7 @@ buildPythonApplication rec {
urwid urwid
]; ];
checkInputs = [ glibcLocales ]; nativeCheckInputs = [ glibcLocales ];
makeWrapperArgs = [ "--suffix" "PATH" ":" "${taskwarrior}/bin" ]; makeWrapperArgs = [ "--suffix" "PATH" ":" "${taskwarrior}/bin" ];

Some files were not shown because too many files have changed in this diff Show more