1{ lib
2, buildPythonPackage
3, fetchurl
4, bottle
5, isPy3k
6}:
7
8buildPythonPackage rec {
9 pname = "grammalecte";
10 version = "0.6.5";
11
12 src = fetchurl {
13 url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
14 sha256 = "11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0";
15 };
16
17 propagatedBuildInputs = [ bottle ];
18
19 preBuild = "cd ..";
20
21 disabled = !isPy3k;
22
23 meta = {
24 description = "Grammalecte is an open source grammar checker for the French language";
25 homepage = "https://grammalecte.net";
26 license = with lib.licenses; [ gpl3 ];
27 maintainers = with lib.maintainers; [ apeyroux ];
28 };
29}