From f0956b7baf12aac16ad7c607c6cee29942b2ce20 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 --- pkgs/development/python-modules/keyring/default.nix | 2 ++ pkgs/development/python-modules/secretstorage/default.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/keyring/default.nix b/pkgs/development/python-modules/keyring/default.nix index 35bfd603f413..ca7a518665ce 100644 --- a/pkgs/development/python-modules/keyring/default.nix +++ b/pkgs/development/python-modules/keyring/default.nix @@ -21,6 +21,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ secretstorage ]; + doCheck = !stdenv.isDarwin; + checkPhase = '' py.test $out ''; 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 ]; }; }