diff options
author | pacien <pacien.trangirard@pacien.net> | 2022-05-15 22:01:48 +0200 |
---|---|---|
committer | pacien <pacien.trangirard@pacien.net> | 2022-05-15 22:05:56 +0200 |
commit | c750f1466d4ca483f53e2ee00d255a80c25d9abc (patch) | |
tree | ce3cf7cb8e1cb1d6f7e939114574c76682bad42a /pkgs/development/python-modules/embrace | |
parent | eb78d30bf48c1064299d96082054bae587582f2e (diff) |
python3Packages.embrace: disable check phase on Darwin
Some test for hot-reload fails on Darwin, but the rest of the library should remain usable. Upstream issue: https://todo.sr.ht/~olly/embrace-sql/4
Diffstat (limited to 'pkgs/development/python-modules/embrace')
-rw-r--r-- | pkgs/development/python-modules/embrace/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/embrace/default.nix b/pkgs/development/python-modules/embrace/default.nix index 414425ed6f2c1..1e38a550d173b 100644 --- a/pkgs/development/python-modules/embrace/default.nix +++ b/pkgs/development/python-modules/embrace/default.nix @@ -1,4 +1,5 @@ -{ lib, buildPythonPackage, fetchFromSourcehut, sqlparse, wrapt, pytestCheckHook }: +{ stdenv, lib, buildPythonPackage, fetchFromSourcehut, + sqlparse, wrapt, pytestCheckHook }: buildPythonPackage rec { pname = "embrace"; @@ -16,6 +17,10 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "embrace" ]; + # Some test for hot-reload fails on Darwin, but the rest of the library + # should remain usable. (https://todo.sr.ht/~olly/embrace-sql/4) + doCheck = !stdenv.isDarwin; + meta = with lib; { description = "Embrace SQL keeps your SQL queries in SQL files"; homepage = "https://pypi.org/project/embrace/"; |