summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew <mjbauer95@gmail.com>2016-08-09 20:58:52 +0000
committerMatthew <mjbauer95@gmail.com>2016-08-09 20:58:52 +0000
commit7833781b43afa258d22c76076bb0c510ad5c433b (patch)
treedf042d08622a692af65e0d0ee6f6edfbbb0e4c89
parent8dd63abfd37fa275925537d24abb98b0d2612443 (diff)
downloadnixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar.gz
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar.bz2
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar.lz
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar.xz
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.tar.zst
nixpkgs-7833781b43afa258d22c76076bb0c510ad5c433b.zip
wikicurses: fix build error
It would error when a config file was missing. This patch comes from
github and can be removed once 4b944ac339312b642c6dc5d6b5a2f7be7503218f
is included in a release.
-rw-r--r--pkgs/applications/misc/wikicurses/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wikicurses/default.nix b/pkgs/applications/misc/wikicurses/default.nix
index 54e56785071..2b11ccf5837 100644
--- a/pkgs/applications/misc/wikicurses/default.nix
+++ b/pkgs/applications/misc/wikicurses/default.nix
@@ -9,6 +9,16 @@ pythonPackages.buildPythonApplication rec {
     sha256 = "1yxgafk1sczg1xi2p6nhrvr3hchp7ydw98n48lp3qzwnryn1kxv8";
   };
 
+  patches = [
+    # This is necessary to build without a config file.
+    # It can be safely removed after updating to wikicurses to 1.4
+    # or when commit 4b944ac339312b642c6dc5d6b5a2f7be7503218f is included
+    (fetchurl {
+      url = "https://github.com/ids1024/wikicurses/commit/4b944ac339312b642c6dc5d6b5a2f7be7503218f.patch";
+      sha256 = "0ii4b0c4hb1zdhcpp4ij908mfy5b8khpm1l7xr7lp314lfhsg9as";
+    })
+  ];
+
   propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];
 
   meta = {