pinnwand: relax click, sqlalchemy and docutils constraints

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
Martin Weinelt 2021-06-20 22:50:58 +02:00
parent 69409ac372
commit 4d6b6f7cba

View file

@ -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;