diff --git a/pkgs/development/python-modules/reptor/default.nix b/pkgs/development/python-modules/reptor/default.nix index 4611e85cf013..e972155efcf3 100644 --- a/pkgs/development/python-modules/reptor/default.nix +++ b/pkgs/development/python-modules/reptor/default.nix @@ -6,6 +6,7 @@ deepl, django, fetchFromGitHub, + fetchpatch, gql, pytestCheckHook, pyyaml, @@ -34,6 +35,14 @@ buildPythonPackage rec { hash = "sha256-nNG4rQHloOqcPZPnvw3hbw0+wCbB2XAdQ5/XnJtCHnE="; }; + patches = [ + # https://github.com/Syslifters/reptor/pull/221 + (fetchpatch { + url = "https://github.com/Syslifters/reptor/commit/0fc43c246e2f99aaac9e78af818f360a3a951980.patch"; + hash = "sha256-eakbI7hMJdshD0OA6n7dEO4+qPB21sYl09uZgepiWu0="; + }) + ]; + pythonRelaxDeps = true; build-system = [ setuptools ]; @@ -69,15 +78,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "reptor" ]; - disabledTestPaths = [ - # Tests want to use pip install dependencies - "reptor/plugins/importers/GhostWriter/tests/test_ghostwriter.py" - ]; - - disabledTests = [ + disabledTestMarks = [ # Tests need network access - "TestDummy" - "TestIntegration" + "integration" ]; meta = with lib; {