Merge pull request #206742 from symphorien/nativeCheckInputs

nativeCheckInputs
This commit is contained in:
Guillaume Girol 2023-01-21 16:12:21 +00:00 committed by GitHub
commit 4e9efbd52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4194 changed files with 4323 additions and 4277 deletions

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
# ... # ...
checkInputs = [ nativeCheckInputs = [
postgresql postgresql
postgresqlTestHook postgresqlTestHook
]; ];

View File

@ -436,7 +436,7 @@ arguments `buildInputs` and `propagatedBuildInputs` to specify dependencies. If
something is exclusively a build-time dependency, then the dependency should be something is exclusively a build-time dependency, then the dependency should be
included in `buildInputs`, but if it is (also) a runtime dependency, then it included in `buildInputs`, but if it is (also) a runtime dependency, then it
should be added to `propagatedBuildInputs`. Test dependencies are considered should be added to `propagatedBuildInputs`. Test dependencies are considered
build-time dependencies and passed to `checkInputs`. build-time dependencies and passed to `nativeCheckInputs`.
The following example shows which arguments are given to `buildPythonPackage` in The following example shows which arguments are given to `buildPythonPackage` in
order to build [`datashape`](https://github.com/blaze/datashape). order to build [`datashape`](https://github.com/blaze/datashape).
@ -453,7 +453,7 @@ buildPythonPackage rec {
hash = "sha256-FLLvdm1MllKrgTGC6Gb0k0deZeVYvtCCLji/B7uhong="; hash = "sha256-FLLvdm1MllKrgTGC6Gb0k0deZeVYvtCCLji/B7uhong=";
}; };
checkInputs = [ pytest ]; nativeCheckInputs = [ pytest ];
propagatedBuildInputs = [ numpy multipledispatch python-dateutil ]; propagatedBuildInputs = [ numpy multipledispatch python-dateutil ];
meta = with lib; { meta = with lib; {
@ -466,7 +466,7 @@ buildPythonPackage rec {
``` ```
We can see several runtime dependencies, `numpy`, `multipledispatch`, and We can see several runtime dependencies, `numpy`, `multipledispatch`, and
`python-dateutil`. Furthermore, we have one `checkInputs`, i.e. `pytest`. `pytest` is a `python-dateutil`. Furthermore, we have one `nativeCheckInputs`, i.e. `pytest`. `pytest` is a
test runner and is only used during the `checkPhase` and is therefore not added test runner and is only used during the `checkPhase` and is therefore not added
to `propagatedBuildInputs`. to `propagatedBuildInputs`.
@ -569,7 +569,7 @@ Pytest is the most common test runner for python repositories. A trivial
test run would be: test run would be:
``` ```
checkInputs = [ pytest ]; nativeCheckInputs = [ pytest ];
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
@ -585,7 +585,7 @@ sandbox, and will generally need many tests to be disabled.
To filter tests using pytest, one can do the following: To filter tests using pytest, one can do the following:
``` ```
checkInputs = [ pytest ]; nativeCheckInputs = [ pytest ];
# avoid tests which need additional data or touch network # avoid tests which need additional data or touch network
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
@ -618,7 +618,7 @@ when a package may need many items disabled to run the test suite.
Using the example above, the analogous `pytestCheckHook` usage would be: Using the example above, the analogous `pytestCheckHook` usage would be:
``` ```
checkInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
# requires additional data # requires additional data
pytestFlagsArray = [ "tests/" "--ignore=tests/integration" ]; pytestFlagsArray = [ "tests/" "--ignore=tests/integration" ];
@ -749,7 +749,7 @@ with the exception of `other` (see `format` in
`unittestCheckHook` is a hook which will substitute the setuptools `test` command for a `checkPhase` which runs `python -m unittest discover`: `unittestCheckHook` is a hook which will substitute the setuptools `test` command for a `checkPhase` which runs `python -m unittest discover`:
``` ```
checkInputs = [ unittestCheckHook ]; nativeCheckInputs = [ unittestCheckHook ];
unittestFlags = [ "-s" "tests" "-v" ]; unittestFlags = [ "-s" "tests" "-v" ];
``` ```
@ -1006,7 +1006,7 @@ buildPythonPackage rec {
rm testing/test_argcomplete.py rm testing/test_argcomplete.py
''; '';
checkInputs = [ hypothesis ]; nativeCheckInputs = [ hypothesis ];
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ attrs py setuptools six pluggy ]; propagatedBuildInputs = [ attrs py setuptools six pluggy ];
@ -1028,7 +1028,7 @@ The `buildPythonPackage` mainly does four things:
* In the `installCheck` phase, `${python.interpreter} setup.py test` is run. * In the `installCheck` phase, `${python.interpreter} setup.py test` is run.
By default tests are run because `doCheck = true`. Test dependencies, like By default tests are run because `doCheck = true`. Test dependencies, like
e.g. the test runner, should be added to `checkInputs`. e.g. the test runner, should be added to `nativeCheckInputs`.
By default `meta.platforms` is set to the same value By default `meta.platforms` is set to the same value
as the interpreter unless overridden otherwise. as the interpreter unless overridden otherwise.
@ -1082,7 +1082,7 @@ because their behaviour is different:
* `buildInputs ? []`: Build and/or run-time dependencies that need to be * `buildInputs ? []`: Build and/or run-time dependencies that need to be
compiled for the host machine. Typically non-Python libraries which are being compiled for the host machine. Typically non-Python libraries which are being
linked. linked.
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These * `nativeCheckInputs ? []`: Dependencies needed for running the `checkPhase`. These
are added to `nativeBuildInputs` when `doCheck = true`. Items listed in are added to `nativeBuildInputs` when `doCheck = true`. Items listed in
`tests_require` go here. `tests_require` go here.
* `propagatedBuildInputs ? []`: Aside from propagating dependencies, * `propagatedBuildInputs ? []`: Aside from propagating dependencies,
@ -1416,7 +1416,7 @@ example of such a situation is when `py.test` is used.
buildPythonPackage { buildPythonPackage {
# ... # ...
# assumes the tests are located in tests # assumes the tests are located in tests
checkInputs = [ pytest ]; nativeCheckInputs = [ pytest ];
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
@ -1768,7 +1768,7 @@ In a `setup.py` or `setup.cfg` it is common to declare dependencies:
* `setup_requires` corresponds to `nativeBuildInputs` * `setup_requires` corresponds to `nativeBuildInputs`
* `install_requires` corresponds to `propagatedBuildInputs` * `install_requires` corresponds to `propagatedBuildInputs`
* `tests_require` corresponds to `checkInputs` * `tests_require` corresponds to `nativeCheckInputs`
## Contributing {#contributing} ## Contributing {#contributing}

View File

@ -654,7 +654,11 @@ A list of strings passed as additional flags to `make`. Like `makeFlags` and `ma
##### `checkInputs` {#var-stdenv-checkInputs} ##### `checkInputs` {#var-stdenv-checkInputs}
A list of dependencies used by the phase. This gets included in `nativeBuildInputs` when `doCheck` is set. A list of host dependencies used by the phase, usually libraries linked into executables built during tests. This gets included in `buildInputs` when `doCheck` is set.
##### `nativeCheckInputs` {#var-stdenv-nativeCheckInputs}
A list of native dependencies used by the phase, notably tools needed on `$PATH`. This gets included in `nativeBuildInputs` when `doCheck` is set.
##### `preCheck` {#var-stdenv-preCheck} ##### `preCheck` {#var-stdenv-preCheck}
@ -821,7 +825,11 @@ A list of strings passed as additional flags to `make`. Like `makeFlags` and `ma
##### `installCheckInputs` {#var-stdenv-installCheckInputs} ##### `installCheckInputs` {#var-stdenv-installCheckInputs}
A list of dependencies used by the phase. This gets included in `nativeBuildInputs` when `doInstallCheck` is set. A list of host dependencies used by the phase, usually libraries linked into executables built during tests. This gets included in `buildInputs` when `doInstallCheck` is set.
##### `nativeInstallCheckInputs` {#var-stdenv-nativeInstallCheckInputs}
A list of native dependencies used by the phase, notably tools needed on `$PATH`. This gets included in `nativeBuildInputs` when `doInstallCheck` is set.
##### `preInstallCheck` {#var-stdenv-preInstallCheck} ##### `preInstallCheck` {#var-stdenv-preInstallCheck}

View File

@ -146,6 +146,30 @@
instead. instead.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
<literal>checkInputs</literal> have been renamed to
<literal>nativeCheckInputs</literal>, because they behave the
same as <literal>nativeBuildInputs</literal> when
<literal>doCheck</literal> is set.
<literal>checkInputs</literal> now denote a new type of
dependencies, added to <literal>buildInputs</literal> when
<literal>doCheck</literal> is set. As a rule of thumb,
<literal>nativeCheckInputs</literal> are tools on
<literal>$PATH</literal> used during the tests, and
<literal>checkInputs</literal> are libraries which are linked
to executables built as part of the tests. Similarly,
<literal>installCheckInputs</literal> are renamed to
<literal>nativeInstallCheckInputs</literal>, corresponding to
<literal>nativeBuildInputs</literal>, and
<literal>installCheckInputs</literal> are a new type of
dependencies added to <literal>buildInputs</literal> when
<literal>doInstallCheck</literal> is set. (Note that this
change will not cause breakage to derivations with
<literal>strictDeps</literal> unset, which are most packages
except python, rust and go packages).
</para>
</listitem>
<listitem> <listitem>
<para> <para>
<literal>borgbackup</literal> module now has an option for <literal>borgbackup</literal> module now has an option for

View File

@ -48,6 +48,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- `carnix` and `cratesIO` has been removed due to being unmaintained, use alternatives such as [naersk](https://github.com/nix-community/naersk) and [crate2nix](https://github.com/kolloch/crate2nix) instead. - `carnix` and `cratesIO` has been removed due to being unmaintained, use alternatives such as [naersk](https://github.com/nix-community/naersk) and [crate2nix](https://github.com/kolloch/crate2nix) instead.
- `checkInputs` have been renamed to `nativeCheckInputs`, because they behave the same as `nativeBuildInputs` when `doCheck` is set. `checkInputs` now denote a new type of dependencies, added to `buildInputs` when `doCheck` is set. As a rule of thumb, `nativeCheckInputs` are tools on `$PATH` used during the tests, and `checkInputs` are libraries which are linked to executables built as part of the tests. Similarly, `installCheckInputs` are renamed to `nativeInstallCheckInputs`, corresponding to `nativeBuildInputs`, and `installCheckInputs` are a new type of dependencies added to `buildInputs` when `doInstallCheck` is set. (Note that this change will not cause breakage to derivations with `strictDeps` unset, which are most packages except python, rust and go packages).
- `borgbackup` module now has an option for inhibiting system sleep while backups are running, defaulting to off (not inhibiting sleep), available as [`services.borgbackup.jobs.<name>.inhibitsSleep`](#opt-services.borgbackup.jobs._name_.inhibitsSleep). - `borgbackup` module now has an option for inhibiting system sleep while backups are running, defaulting to off (not inhibiting sleep), available as [`services.borgbackup.jobs.<name>.inhibitsSleep`](#opt-services.borgbackup.jobs._name_.inhibitsSleep).
- `podman` now uses the `netavark` network stack. Users will need to delete all of their local containers, images, volumes, etc, by running `podman system reset --force` once before upgrading their systems. - `podman` now uses the `netavark` network stack. Users will need to delete all of their local containers, images, volumes, etc, by running `podman system reset --force` once before upgrading their systems.

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
]; ];

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