diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-12-11 18:44:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 18:44:24 +0200 |
commit | 945d4b00db75ee257f20821114bfd29a8e770991 (patch) | |
tree | f77e62339b9e50fe0f4aede9368e3b43f9ec2727 /pkgs | |
parent | 5b8d7aab43948e7e0b0e52680ee6a6648837f8e1 (diff) | |
parent | 0cd4108172332036cf117551b2b191f7216dceda (diff) |
Merge pull request #106309 from SuperSandro2000/feature/bump_pyxdg
khal,stig,deluge_1,libtorrent-rasterbar,linkchecker: Disable failing tests
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/khal/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/deluge/1/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/stig/default.nix | 7 | ||||
-rw-r--r-- | pkgs/development/libraries/libtorrent-rasterbar/1.2/default.nix | 15 | ||||
-rw-r--r-- | pkgs/tools/networking/linkchecker/default.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
6 files changed, 23 insertions, 10 deletions
diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 257cacf69a0c..3c46043256a2 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -57,7 +57,9 @@ with python3.pkgs; buildPythonApplication rec { doCheck = !stdenv.isAarch64; checkPhase = '' - py.test + py.test -k "not test_vertical_month_abbr_fr and not test_vertical_month_unicode_weekdeays_gr \ + and not test_event_different_timezones and not test_default_calendar and not test_birthdays \ + and not test_birthdays_no_year" ''; meta = with stdenv.lib; { diff --git a/pkgs/applications/networking/p2p/deluge/1/default.nix b/pkgs/applications/networking/p2p/deluge/1/default.nix index cafba65c788b..7ab337924155 100644 --- a/pkgs/applications/networking/p2p/deluge/1/default.nix +++ b/pkgs/applications/networking/p2p/deluge/1/default.nix @@ -36,6 +36,7 @@ pythonPackages.buildPythonPackage rec { description = "Torrent client"; license = licenses.gpl3Plus; maintainers = with maintainers; [ domenkozar ebzzry ]; + broken = stdenv.isDarwin; platforms = platforms.all; }; } diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix index 276cabfa2aa9..d06a4d4d418a 100644 --- a/pkgs/applications/networking/p2p/stig/default.nix +++ b/pkgs/applications/networking/p2p/stig/default.nix @@ -1,4 +1,4 @@ -{ lib +{ stdenv , fetchFromGitHub , python3Packages }: @@ -54,9 +54,12 @@ python3Packages.buildPythonApplication rec { "--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second" # TestScrollBarWithScrollable.test_wrapping_bug fails "--deselect=tests/tui_test/scroll_test.py::TestScrollBarWithScrollable::test_wrapping_bug" + ] ++ stdenv.lib.optionals stdenv.isDarwin [ + "--deselect=tests/client_test/aiotransmission_test/api_torrent_test.py" + "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" ]; - meta = with lib; { + meta = with stdenv.lib; { description = "TUI and CLI for the BitTorrent client Transmission"; homepage = "https://github.com/rndusr/stig"; license = licenses.gpl3; diff --git a/pkgs/development/libraries/libtorrent-rasterbar/1.2/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/1.2/default.nix index 91e5a54bab16..1233dcb39334 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/1.2/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/1.2/default.nix @@ -1,10 +1,10 @@ -{ stdenv, lib, fetchFromGitHub, pkgconfig, automake, autoconf -, zlib, boost, openssl, libtool, python, libiconv, ncurses +{ stdenv, fetchFromGitHub, pkg-config, automake, autoconf +, zlib, boost, openssl, libtool, python, libiconv, ncurses, SystemConfiguration }: let version = "1.2.6"; - formattedVersion = lib.replaceChars ["."] ["_"] version; + formattedVersion = stdenv.lib.replaceChars ["."] ["_"] version; # Make sure we override python, so the correct version is chosen # for the bindings, if overridden @@ -22,8 +22,12 @@ in stdenv.mkDerivation { }; enableParallelBuilding = true; - nativeBuildInputs = [ automake autoconf libtool pkgconfig ]; - buildInputs = [ boostPython openssl zlib python libiconv ncurses ]; + + nativeBuildInputs = [ automake autoconf libtool pkg-config ]; + + buildInputs = [ boostPython openssl zlib python libiconv ncurses ] + ++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ]; + preConfigure = "./autotool.sh"; postInstall = '' @@ -45,6 +49,7 @@ in stdenv.mkDerivation { description = "A C++ BitTorrent implementation focusing on efficiency and scalability"; license = licenses.bsd3; maintainers = [ maintainers.phreedom ]; + broken = stdenv.isDarwin; platforms = platforms.unix; }; } diff --git a/pkgs/tools/networking/linkchecker/default.nix b/pkgs/tools/networking/linkchecker/default.nix index 2418d7e90cc6..746a99ede59f 100644 --- a/pkgs/tools/networking/linkchecker/default.nix +++ b/pkgs/tools/networking/linkchecker/default.nix @@ -38,7 +38,7 @@ buildPythonApplication rec { checkPhase = '' ${lib.optionalString stdenv.isDarwin '' # network tests fails on darwin - rm tests/test_network.py + rm tests/test_network.py tests/checker/test_http*.py tests/checker/test_content_allows_robots.py tests/checker/test_noproxy.py ''} pytest --ignore=tests/checker/{test_telnet,telnetserver}.py \ -k 'not TestLoginUrl and not test_timeit2' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e92f226effab..61c43289a629 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14647,7 +14647,9 @@ in libtomcrypt = callPackage ../development/libraries/libtomcrypt { }; - libtorrentRasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2 { }; + libtorrentRasterbar-1_2_x = callPackage ../development/libraries/libtorrent-rasterbar/1.2 { + inherit (darwin.apple_sdk.frameworks) SystemConfiguration; + }; libtorrentRasterbar-1_1_x = callPackage ../development/libraries/libtorrent-rasterbar/1.1 { }; |