nixpkgs/pkgs/development/python-modules/moinmoin/default.nix

36 lines
724 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchurl, isPy3k
2018-02-18 09:27:15 +00:00
, pytest, werkzeug, pygments
}:
buildPythonPackage rec {
2018-05-28 13:59:57 +01:00
pname = "moinmoin";
version = "1.9.11";
# SyntaxError in setup.py
disabled = isPy3k;
2018-02-18 09:27:15 +00:00
src = fetchurl {
url = "http://static.moinmo.in/files/moin-${version}.tar.gz";
sha256 = "sha256-Ar4x1V851P4MYlPfi0ngG3bQlWNMvRtW0YX2bh4MPPU=";
2018-02-18 09:27:15 +00:00
};
patches = [
# Recommended to install on their download page.
./fix_tests.patch
];
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";
homepage = "https://moinmo.in/";
2018-02-18 09:27:15 +00:00
license = licenses.gpl2Plus;
};
}