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:
parent
25193e2732
commit
33afbf39f6
@ -31,7 +31,7 @@ python3Packages.buildPythonApplication rec {
|
||||
++ extraPythonPackages python3Packages;
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = with python3Packages; [ mypy pylint black ];
|
||||
nativeCheckInputs = with python3Packages; [ mypy pylint black ];
|
||||
checkPhase = ''
|
||||
mypy --disallow-untyped-defs \
|
||||
--no-implicit-optional \
|
||||
|
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional podcastSupport python3.pkgs.feedparser
|
||||
++ lib.optional wikipediaSupport webkitgtk;
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytest
|
||||
];
|
||||
|
||||
|
@ -41,7 +41,7 @@ python3Packages.buildPythonApplication rec {
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
minimock
|
||||
pytest
|
||||
pytest-httpserver
|
||||
|
@ -13,7 +13,7 @@ in stdenv.mkDerivation {
|
||||
sha256 = "05c6zskj50g29f51lx8fvgzsi3f31z01zj6ssjjrgr7jfs7ak70p";
|
||||
};
|
||||
|
||||
checkInputs = (with dotnetPackages; [ NUnitConsole ]);
|
||||
nativeCheckInputs = (with dotnetPackages; [ NUnitConsole ]);
|
||||
nativeBuildInputs = [ mono makeWrapper ];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
Cocoa
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
cppunit
|
||||
];
|
||||
|
||||
|
@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
|
||||
python3Packages.uritools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec {
|
||||
python3Packages.uritools
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = [ mopidy pythonPackages.py-sonic ];
|
||||
|
||||
checkInputs = with pythonPackages; [ pytestCheckHook ];
|
||||
nativeCheckInputs = with pythonPackages; [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.mopidy.com/";
|
||||
|
@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec {
|
||||
python3Packages.tidalapi
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
];
|
||||
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
mopidy
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
vcrpy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]);
|
||||
nativeCheckInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]);
|
||||
|
||||
checkPhase = ''
|
||||
export LANG="en_US.UTF-8"
|
||||
|
@ -119,7 +119,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
dbus
|
||||
gdk-pixbuf
|
||||
glibcLocales
|
||||
|
@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
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
|
||||
# sandbox to be disabled.
|
||||
|
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||
"-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
nativeCheckInputs = [ gtest ];
|
||||
doCheck = !stdenv.isAarch64; # single failure that I can't explain
|
||||
|
||||
preFixup = ''
|
||||
|
@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
|
||||
libnotify
|
||||
] ++ gst_plugins;
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
check
|
||||
];
|
||||
|
||||
|
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||
fmt
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
parallel
|
||||
ruby
|
||||
supercollider-with-sc3-plugins
|
||||
|
@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec {
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
xvfb-run
|
||||
];
|
||||
|
||||
|
@ -73,7 +73,7 @@ python3Packages.buildPythonApplication rec {
|
||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest
|
||||
];
|
||||
|
||||
|
@ -56,7 +56,7 @@ in python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
buildInputs = [ libsndfile ];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
twisted
|
||||
] ++ bins;
|
||||
|
||||
|
@ -95,7 +95,7 @@ in stdenv.mkDerivation rec {
|
||||
++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ cxxtest ruby ];
|
||||
nativeCheckInputs = [ cxxtest ruby ];
|
||||
|
||||
# TODO: Update cmake hook to make it simpler to selectively disable cmake tests: #113829
|
||||
checkPhase = let
|
||||
|
@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pyunifiprotect
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec {
|
||||
)
|
||||
'';
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest-qt
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
|
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
nativeCheckInputs = [ python3 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
nativeCheckInputs = [ python3 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
|
||||
pytimeparse
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
@ -64,7 +64,7 @@ let chia = python3Packages.buildPythonApplication rec {
|
||||
zstd
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
||||
# https://github.com/NixOS/nixpkgs/issues/179474
|
||||
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "fortify" "stackprotector" ];
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
nativeCheckInputs = [ python3 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
nativeCheckInputs = [ python3 ];
|
||||
|
||||
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.
|
||||
|
@ -87,7 +87,7 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip subnet_service::tests::sync_committee_service::subscribe_and_unsubscribe"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
nodePackages.ganache
|
||||
];
|
||||
|
||||
|
@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
# 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.
|
||||
# OPENSSL_NO_VENDOR = 1;
|
||||
# OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
|
||||
|
@ -104,7 +104,7 @@ stdenv.mkDerivation rec {
|
||||
webkitgtk_5_0
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
dbus
|
||||
xvfb-run
|
||||
];
|
||||
|
@ -96,7 +96,7 @@ in
|
||||
];
|
||||
|
||||
# extra programs test via `make functionaltest`
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
fish
|
||||
nodejs
|
||||
pyEnv # for src/clint.py
|
||||
|
@ -30,7 +30,7 @@ with python3.pkgs; buildPythonApplication rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
neovim
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = !isCross;
|
||||
checkInputs = lib.optionals (!isCross) [ dejagnu ];
|
||||
nativeCheckInputs = lib.optionals (!isCross) [ dejagnu ];
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput share/emacs "$out"
|
||||
|
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
|
||||
zstd
|
||||
];
|
||||
|
||||
checkInputs = [ zoxide ];
|
||||
nativeCheckInputs = [ zoxide ];
|
||||
|
||||
buildFeatures = [ "zstd/pkg-config" ];
|
||||
|
||||
|
@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkInputs = with python3Packages; [ pytestCheckHook ];
|
||||
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
||||
propagatedBuildInputs = [
|
||||
less
|
||||
file
|
||||
|
@ -51,7 +51,7 @@ let
|
||||
inherit version;
|
||||
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
|
||||
};
|
||||
checkInputs = old.checkInputs ++ (with self; [
|
||||
nativeCheckInputs = old.nativeCheckInputs ++ (with self; [
|
||||
requests
|
||||
]);
|
||||
disabledTests = old.disabledTests ++ [
|
||||
|
@ -37,7 +37,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest
|
||||
pytest-xvfb
|
||||
pytest-mock
|
||||
|
@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
|
||||
};
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook pytest-xdist responses
|
||||
];
|
||||
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
--add-flags '--theme=feh'
|
||||
'';
|
||||
|
||||
checkInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ]));
|
||||
nativeCheckInputs = lib.singleton (perl.withPackages (p: [ p.TestCommand ]));
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -89,7 +89,7 @@ perlPackages.buildPerlPackage rec {
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
imagemagick
|
||||
libtiff
|
||||
djvulibre
|
||||
|
@ -51,7 +51,7 @@ python3Packages.buildPythonPackage rec {
|
||||
twisted
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
nose
|
||||
mock
|
||||
httmock
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
python3.pkgs.inkex
|
||||
python3.pkgs.pytestCheckHook
|
||||
];
|
||||
|
@ -74,7 +74,7 @@ in buildPythonApplication rec {
|
||||
pygobject3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
gtk3
|
||||
];
|
||||
|
||||
|
@ -21,7 +21,7 @@ buildPythonApplication rec {
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -28,7 +28,7 @@ with python3.pkgs; buildPythonApplication rec {
|
||||
sha256 = "sha256-7piJK1hz9h6EWiU/q5MAS1PSvHFxnW7rZBKxq+wda1c=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest
|
||||
pytest-vcr
|
||||
|
@ -67,7 +67,7 @@ buildPythonApplication rec {
|
||||
pango
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -20,7 +20,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
|
||||
|
||||
checkInputs = with pythonPackages; [ pytest mock ];
|
||||
nativeCheckInputs = with pythonPackages; [ pytest mock ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
|
@ -53,7 +53,7 @@ buildPythonApplication rec {
|
||||
click
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI for querying Databricks SQL";
|
||||
|
@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
watchdog
|
||||
] ++ typer.optional-dependencies.all;
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
] ++ (with python3.pkgs; [
|
||||
pytest-asyncio
|
||||
|
@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
nativeCheckInputs = with python3Packages; [ pytest ];
|
||||
propagatedBuildInputs = with python3Packages; [ click ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -34,7 +34,7 @@ python3Packages.buildPythonApplication rec {
|
||||
"NO_VENV=1"
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
preCheck = ''
|
||||
|
@ -55,7 +55,7 @@ python3Packages.buildPythonApplication rec {
|
||||
--replace "(share_dir" "(\"share\""
|
||||
'';
|
||||
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
nativeCheckInputs = with python3Packages; [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
unset HOME
|
||||
|
@ -117,7 +117,7 @@ python3.pkgs.buildPythonApplication {
|
||||
wrapQtApp $out/bin/electrum
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
|
||||
pytestFlagsArray = [ "electrum/tests" ];
|
||||
|
||||
|
@ -109,7 +109,7 @@ python3.pkgs.buildPythonApplication {
|
||||
wrapQtApp $out/bin/electrum-ltc
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
|
||||
pytestFlagsArray = [ "electrum_ltc/tests" ];
|
||||
|
||||
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
dbus
|
||||
];
|
||||
|
||||
|
@ -16,7 +16,7 @@ buildPythonApplication rec {
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ meson ninja pkg-config gettext check dbus ];
|
||||
buildInputs = [ libintl libiconv json_c ];
|
||||
propagatedBuildInputs = [ glib gtk ];
|
||||
checkInputs = [ xvfb-run ];
|
||||
nativeCheckInputs = [ xvfb-run ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional withGUI qtserialport
|
||||
++ lib.optional (withGUI && withMapPreview) qtwebengine;
|
||||
|
||||
checkInputs = [ libxml2 which ];
|
||||
nativeCheckInputs = [ libxml2 which ];
|
||||
|
||||
preConfigure = lib.optionalString withGUI ''
|
||||
lrelease gui/*.ts gui/coretool/*.ts
|
||||
|
@ -18,7 +18,7 @@ buildGoModule rec {
|
||||
"-X github.com/giantswarm/gsctl/buildinfo.Version=${version}"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
kubectl
|
||||
];
|
||||
|
||||
|
@ -52,7 +52,7 @@ buildPythonApplication rec {
|
||||
# will fail without pre-seeded config files
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ unittestCheckHook mock ];
|
||||
nativeCheckInputs = [ unittestCheckHook mock ];
|
||||
|
||||
unittestFlagsArray = [ "-s" "tests" "-v" ];
|
||||
|
||||
|
@ -23,7 +23,7 @@ buildPythonApplication rec {
|
||||
sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az";
|
||||
};
|
||||
|
||||
checkInputs = [ manuel ];
|
||||
nativeCheckInputs = [ manuel ];
|
||||
propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -13,7 +13,7 @@ buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = [ openjdk ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
nativeCheckInputs = [ nose ];
|
||||
checkPhase = "PATH=$PATH:$out/bin nosetests";
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
checkInputs = [ gitMinimal util-linuxMinimal ];
|
||||
nativeCheckInputs = [ gitMinimal util-linuxMinimal ];
|
||||
|
||||
cargoSha256 = "1vnrc72g2271i2p847z30kplxmdpi60n3dzpw0s7dahg33g14ai6";
|
||||
|
||||
|
@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ pcre sqlite ];
|
||||
propagatedBuildInputs = with python3.pkgs; [ click flask kanjidraw ];
|
||||
checkInputs = [ nodejs ];
|
||||
nativeCheckInputs = [ nodejs ];
|
||||
|
||||
preBuild = ''
|
||||
export JITEN_VERSION=${version} # override `git describe`
|
||||
|
@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
rich
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytest-bdd
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
|
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
|
||||
pynput
|
||||
];
|
||||
|
||||
checkInputs = [ xvfb-run ];
|
||||
nativeCheckInputs = [ xvfb-run ];
|
||||
checkPhase = ''
|
||||
xvfb-run python setup.py test
|
||||
'';
|
||||
|
@ -47,7 +47,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
urwid
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs;[
|
||||
nativeCheckInputs = with python3.pkgs;[
|
||||
freezegun
|
||||
hypothesis
|
||||
packaging
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
pugixml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
|
@ -123,7 +123,7 @@ buildPythonApplication rec {
|
||||
--replace "'libmagic.so.1'" "'${lib.getLib file}/lib/libmagic.so.1'"
|
||||
'';
|
||||
|
||||
checkInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools;
|
||||
nativeCheckInputs = [ xvfb-run nose2 flake8 ] ++ requiredTools;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
# when running these tests inside build, based on free disk space.
|
||||
doCheck = false;
|
||||
checkTarget = "test";
|
||||
checkInputs = [ which zstd pbzip2 ];
|
||||
nativeCheckInputs = [ which zstd pbzip2 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share/{${pname}-${version},man/man1}}
|
||||
|
@ -11,7 +11,7 @@ buildPythonApplication rec {
|
||||
sha256 = "06d62r89h026asaa4ryzb23m86j0cmbvy54kf4zl5f35sgiha45z";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
nativeCheckInputs = [ nose ];
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -46,7 +46,7 @@ buildPythonApplication rec {
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
|
@ -46,7 +46,7 @@ python3Packages.buildPythonApplication rec {
|
||||
gtk3
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
glibcLocales
|
||||
pytest
|
||||
tox
|
||||
|
@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
|
||||
./update_hack.patch
|
||||
];
|
||||
|
||||
checkInputs = [ python3Packages.pytestCheckHook ];
|
||||
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
|
||||
|
||||
# disable test that fail (networking, etc)
|
||||
disabledTests = [
|
||||
|
@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
mercurial
|
||||
patch
|
||||
|
@ -13,7 +13,7 @@ buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = [ git ];
|
||||
|
||||
checkInputs = [ pytestCheckHook git ];
|
||||
nativeCheckInputs = [ pytestCheckHook git ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = mu-repo;
|
||||
|
@ -136,7 +136,7 @@ let
|
||||
py.pkgs.appdirs
|
||||
];
|
||||
|
||||
checkInputs = with self; [
|
||||
nativeCheckInputs = with self; [
|
||||
ddt
|
||||
mock
|
||||
pytestCheckHook
|
||||
|
@ -93,7 +93,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
dconf
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
# for Onboard.SpellChecker.aspell_cmd doctests
|
||||
(aspellWithDicts (dicts: with dicts; [ en ]))
|
||||
|
||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
#
|
||||
# See also https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/
|
||||
|
||||
#checkInputs = [ mock nose ];
|
||||
#nativeCheckInputs = [ mock nose ];
|
||||
nativeBuildInputs = [ qt5.qttools ];
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
|
@ -50,7 +50,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
secretstorage
|
||||
];
|
||||
|
||||
checkInputs =
|
||||
nativeCheckInputs =
|
||||
let
|
||||
ps = python3.pkgs;
|
||||
in
|
||||
|
@ -25,7 +25,7 @@
|
||||
# sed on many of the platforms Plover builds for
|
||||
postPatch = "sed -i /PyQt5/d setup.cfg";
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
nativeCheckInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ babel pyqt5 xlib pyserial appdirs wcwidth setuptools ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
@ -32,7 +32,7 @@ let
|
||||
inherit version;
|
||||
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
|
||||
};
|
||||
checkInputs = old.checkInputs ++ (with self; [
|
||||
nativeCheckInputs = old.nativeCheckInputs ++ (with self; [
|
||||
requests
|
||||
]);
|
||||
doCheck = false;
|
||||
@ -81,7 +81,7 @@ let
|
||||
# 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.
|
||||
Mako = super.Mako.overridePythonAttrs (lib.const {
|
||||
checkInputs = [];
|
||||
nativeCheckInputs = [];
|
||||
doCheck = false;
|
||||
});
|
||||
};
|
||||
@ -119,7 +119,7 @@ python3'.pkgs.buildPythonPackage rec {
|
||||
|
||||
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)";
|
||||
postCheck = "unset HOME";
|
||||
disabledTests = [
|
||||
|
@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||
xorg.libX11
|
||||
] ++ lib.optionals withSystemd [
|
||||
systemd
|
||||
] ++ checkInputs;
|
||||
] ++ nativeCheckInputs;
|
||||
|
||||
patches = [
|
||||
# Fix detection of TBB, see https://github.com/prusa3d/PrusaSlicer/issues/6355
|
||||
@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ gtest ];
|
||||
nativeCheckInputs = [ gtest ];
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
|
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest-runner pytest ];
|
||||
nativeCheckInputs = [ pytest-runner pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://python-cerberus.org/";
|
||||
|
@ -15,7 +15,7 @@ in buildPythonApplication rec {
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
|
||||
|
||||
checkInputs = [ unittestCheckHook ];
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pythonhosted.org/pyditz/";
|
||||
|
@ -63,7 +63,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ])
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
glibcLocales
|
||||
perl
|
||||
xvfb-run
|
||||
|
@ -34,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
setuptools # needs pkg_resources
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
ffmpeg
|
||||
] ++ (with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
|
@ -16,7 +16,7 @@ buildGoModule rec {
|
||||
sha256 = "sha256-K8VsqaNUPxh3/Yddy6DFiOyjRuZ6r6bU456Pm31A1og=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
bash
|
||||
go
|
||||
];
|
||||
|
@ -79,7 +79,7 @@ python3Packages.buildPythonApplication rec {
|
||||
xlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
xvfb-run
|
||||
python3Packages.pytest
|
||||
python3Packages.hypothesis-auto
|
||||
|
@ -118,7 +118,7 @@ python.pkgs.pythonPackages.buildPythonPackage rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
checkInputs = with python.pkgs; [
|
||||
nativeCheckInputs = with python.pkgs; [
|
||||
pytestCheckHook
|
||||
pytest-django
|
||||
pytest-factoryboy
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
buildInputs = [ sqlite zlib ];
|
||||
checkInputs = [ perl ];
|
||||
nativeCheckInputs = [ perl ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "sha256-qZk42zGHWpeN5rZPFw7xAmDIvhPzqTePU3If+p/L98c=";
|
||||
};
|
||||
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
nativeCheckInputs = with python3Packages; [ pytest ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages;
|
||||
[ requests beautifulsoup4 future wcwidth urwid psycopg2 ];
|
||||
|
@ -22,7 +22,7 @@ buildPythonApplication rec {
|
||||
watchdog
|
||||
];
|
||||
|
||||
checkInputs = [ unittestCheckHook mock freezegun pylint ];
|
||||
nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
|
||||
|
||||
# Skip test that has been reported multiple times upstream without result:
|
||||
# bram85/topydo#271, bram85/topydo#274.
|
||||
|
@ -39,7 +39,7 @@ python3Packages.buildPythonApplication rec {
|
||||
gtk3 gobject-introspection
|
||||
glib
|
||||
];
|
||||
checkInputs = with python3Packages; [ flake8 pytest ];
|
||||
nativeCheckInputs = with python3Packages; [ flake8 pytest ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
svgwrite pyxdg pycairo pygobject3 setuptools-scm
|
||||
];
|
||||
|
@ -19,7 +19,7 @@ buildPythonApplication rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
checkInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
|
||||
nativeCheckInputs = [ coverage coveralls docopt mock pylint pytest vcrpy ];
|
||||
|
||||
propagatedBuildInputs = [ beautifulsoup4 decorator kitchen requests six ];
|
||||
|
||||
|
@ -70,7 +70,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -62,7 +62,7 @@ python3Packages.buildPythonApplication rec {
|
||||
websocket-client
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
mock
|
||||
pytest
|
||||
pytest-mock
|
||||
|
@ -71,7 +71,7 @@ buildPythonApplication rec {
|
||||
] ++ lib.optionals withPcap [ dpkt dnslib ]
|
||||
++ lib.optional withXclip xclip;
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
|
@ -21,7 +21,7 @@ buildPythonApplication rec {
|
||||
urwid
|
||||
];
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
nativeCheckInputs = [ glibcLocales ];
|
||||
|
||||
makeWrapperArgs = [ "--suffix" "PATH" ":" "${taskwarrior}/bin" ];
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user