about summary refs log tree commit diff
path: root/pkgs/servers/pinnwand
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-20 22:50:58 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-22 13:42:53 +0200
commit4d6b6f7cba7c2724a4423fd4ea42543a1269ffa2 (patch)
tree12c6a26696163eacabb48d5b0bc5f1f8fce6e15e /pkgs/servers/pinnwand
parent69409ac37227646bcb6dbac3dedb49d1214f5088 (diff)
pinnwand: relax click, sqlalchemy and docutils constraints
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Diffstat (limited to 'pkgs/servers/pinnwand')
-rw-r--r--pkgs/servers/pinnwand/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/servers/pinnwand/default.nix b/pkgs/servers/pinnwand/default.nix
index 44dc87d1989e7..3962ce97110ee 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;