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