2019-06-16 21:59:06 +02:00
|
|
|
{ lib, buildPythonPackage, fetchurl, isPy3k
|
2018-02-18 10:27:15 +01:00
|
|
|
, pytest, werkzeug, pygments
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
pname = "moinmoin";
|
2019-03-08 23:21:28 +01:00
|
|
|
version = "1.9.10";
|
2018-03-17 16:11:59 +01:00
|
|
|
|
|
|
|
# SyntaxError in setup.py
|
|
|
|
disabled = isPy3k;
|
2018-02-18 10:27:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-17 16:11:59 +01:00
|
|
|
url = "http://static.moinmo.in/files/moin-${version}.tar.gz";
|
2019-03-08 23:21:28 +01:00
|
|
|
sha256 = "0g05lnl1s8v61phi3z1g3b6lfj4g98grj9kw8nyjl246x0c489ja";
|
2018-02-18 10:27:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Recommended to install on their download page.
|
|
|
|
./fix_tests.patch
|
|
|
|
];
|
|
|
|
|
2019-03-08 23:21:28 +01:00
|
|
|
prePatch = ''
|
|
|
|
sed -i "s/\xfc/ü/" setup.cfg
|
|
|
|
'';
|
|
|
|
|
2018-02-18 10:27:15 +01:00
|
|
|
checkInputs = [ pytest werkzeug pygments ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Advanced, easy to use and extensible WikiEngine";
|
|
|
|
|
2018-03-25 07:04:25 +02:00
|
|
|
homepage = "https://moinmo.in/";
|
2018-02-18 10:27:15 +01:00
|
|
|
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|