2018-03-17 15:11:59 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, fetchpatch, isPy3k
|
2018-02-18 09:27:15 +00:00
|
|
|
, pytest, werkzeug, pygments
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-05-28 13:59:57 +01:00
|
|
|
pname = "moinmoin";
|
2018-03-17 15:11:59 +00:00
|
|
|
version = "1.9.9";
|
|
|
|
|
|
|
|
# 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";
|
2018-02-18 09:27:15 +00:00
|
|
|
sha256 = "197ga41qghykmir80ik17f9hjpmixslv3zjgj7bj9qvs1dvdg5s3";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Recommended to install on their download page.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://bitbucket.org/thomaswaldmann/moin-1.9/commits/561b7a9c2bd91b61d26cd8a5f39aa36bf5c6159e/raw";
|
|
|
|
sha256 = "1nscnl9nspnrwyf3n95ig0ihzndryinq9kkghliph6h55cncfc65";
|
|
|
|
})
|
|
|
|
./fix_tests.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest werkzeug pygments ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Advanced, easy to use and extensible WikiEngine";
|
|
|
|
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = "https://moinmo.in/";
|
2018-02-18 09:27:15 +00:00
|
|
|
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|