1{ lib, buildPythonPackage, fetchurl, fetchpatch
2, pytest, werkzeug, pygments
3}:
4
5buildPythonPackage rec {
6 name = "moinmoin-${ver}";
7 ver = "1.9.9";
8
9 src = fetchurl {
10 url = "http://static.moinmo.in/files/moin-${ver}.tar.gz";
11 sha256 = "197ga41qghykmir80ik17f9hjpmixslv3zjgj7bj9qvs1dvdg5s3";
12 };
13
14 patches = [
15 # Recommended to install on their download page.
16 (fetchpatch {
17 url = "https://bitbucket.org/thomaswaldmann/moin-1.9/commits/561b7a9c2bd91b61d26cd8a5f39aa36bf5c6159e/raw";
18 sha256 = "1nscnl9nspnrwyf3n95ig0ihzndryinq9kkghliph6h55cncfc65";
19 })
20 ./fix_tests.patch
21 ];
22
23 checkInputs = [ pytest werkzeug pygments ];
24
25 meta = with lib; {
26 description = "Advanced, easy to use and extensible WikiEngine";
27
28 homepage = "http://moinmo.in/";
29
30 license = licenses.gpl2Plus;
31 };
32}