mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
python3Packages.agate: fix build on darwin (#474003)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
cssselect,
|
||||
@@ -22,8 +23,6 @@ buildPythonPackage rec {
|
||||
version = "1.14.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wireservice";
|
||||
repo = "agate";
|
||||
@@ -50,6 +49,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# Output is slightly different on macOS
|
||||
"test_cast_format_locale"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "agate" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user