From b16c73697a33cc2e97202462fa028b2b75603ea2 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 12 Sep 2017 20:54:48 +0200 Subject: [PATCH] python-keyring: disable tests on darwin (cherry picked from commit f0956b7baf12aac16ad7c607c6cee29942b2ce20) --- pkgs/development/python-modules/secretstorage/default.nix | 1 - pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/secretstorage/default.nix b/pkgs/development/python-modules/secretstorage/default.nix index e37e87f7d88e..e6d96f7bcf21 100644 --- a/pkgs/development/python-modules/secretstorage/default.nix +++ b/pkgs/development/python-modules/secretstorage/default.nix @@ -21,7 +21,6 @@ buildPythonPackage rec { homepage = "https://github.com/mitya57/secretstorage"; description = "Python bindings to FreeDesktop.org Secret Service API"; license = licenses.bsdOriginal; - platforms = platforms.linux; maintainer = with maintainers; [ teto ]; }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4bd0b399f264..21f6e81035dd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11175,6 +11175,8 @@ in { buildInputs = with self; [ fs gdata python_keyczar mock pyasn1 pycrypto pytest_28 six setuptools_scm pytestrunner ]; + doCheck = !stdenv.isDarwin; + checkPhase = '' py.test $out '';