diff --git a/pkgs/servers/pinnwand/default.nix b/pkgs/servers/pinnwand/default.nix index 44dc87d1989..3962ce97110 100644 --- a/pkgs/servers/pinnwand/default.nix +++ b/pkgs/servers/pinnwand/default.nix @@ -17,6 +17,13 @@ with python3.pkgs; buildPythonApplication rec { sha256 = "046xk2y59wa0pdp7s3hp1gh8sqdw0yl4xab22r2x44iwwcyb0gy5"; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'click = "^7.0"' 'click = "*"' \ + --replace 'docutils = "^0.16"' 'docutils = "*"' \ + --replace 'sqlalchemy = "^1.3"' 'sqlalchemy = "*"' + ''; + nativeBuildInputs = [ poetry-core ]; @@ -34,6 +41,11 @@ with python3.pkgs; buildPythonApplication rec { checkInputs = [ pytestCheckHook ]; + disabledTests = [ + # pygments renamed rst to restructuredText, hence a mismatch on this test + "test_guess_language" + ]; + __darwinAllowLocalNetworking = true; passthru.tests = nixosTests.pinnwand;