1{ lib, buildPythonPackage, fetchurl, isPy3k
2, pytest, werkzeug, pygments
3}:
4
5buildPythonPackage rec {
6 pname = "moinmoin";
7 version = "1.9.11";
8
9 # SyntaxError in setup.py
10 disabled = isPy3k;
11
12 src = fetchurl {
13 url = "http://static.moinmo.in/files/moin-${version}.tar.gz";
14 sha256 = "sha256-Ar4x1V851P4MYlPfi0ngG3bQlWNMvRtW0YX2bh4MPPU=";
15 };
16
17 patches = [
18 # Recommended to install on their download page.
19 ./fix_tests.patch
20 ];
21
22 prePatch = ''
23 sed -i "s/\xfc/ü/" setup.cfg
24 '';
25
26 checkInputs = [ pytest werkzeug pygments ];
27
28 meta = with lib; {
29 description = "Advanced, easy to use and extensible WikiEngine";
30
31 homepage = "https://moinmo.in/";
32
33 license = licenses.gpl2Plus;
34 };
35}