about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/pinnwand/steck.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/pinnwand/steck.nix')
-rw-r--r--nixpkgs/pkgs/servers/pinnwand/steck.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/servers/pinnwand/steck.nix b/nixpkgs/pkgs/servers/pinnwand/steck.nix
index 8d44f8160d03..52efdc148abb 100644
--- a/nixpkgs/pkgs/servers/pinnwand/steck.nix
+++ b/nixpkgs/pkgs/servers/pinnwand/steck.nix
@@ -1,4 +1,8 @@
-{ lib, pkgs, python3Packages, nixosTests }:
+{ lib
+, pkgs
+, python3Packages
+, nixosTests
+}:
 
 python3Packages.buildPythonApplication rec {
   pname = "steck";
@@ -9,6 +13,11 @@ python3Packages.buildPythonApplication rec {
     sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace 'click>=7.0,<8.0' 'click'
+  '';
+
   propagatedBuildInputs = with python3Packages; [
     pkgs.git
     appdirs