python3Packages.agate: fix build on darwin (#474003)

This commit is contained in:
Michael Daniels
2026-01-01 00:27:02 +00:00
committed by GitHub

View File

@@ -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 = {