2017-06-10 22:16:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
, bottle
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grammalecte";
|
2019-02-02 00:16:32 +00:00
|
|
|
version = "0.6.5";
|
2017-06-10 22:16:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-13 14:09:33 +01:00
|
|
|
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
2019-02-02 00:16:32 +00:00
|
|
|
sha256 = "11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0";
|
2017-06-10 22:16:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bottle ];
|
|
|
|
|
|
|
|
preBuild = "cd ..";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Grammalecte is an open source grammar checker for the French language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://grammalecte.net";
|
2017-06-10 22:16:24 +01:00
|
|
|
license = with lib.licenses; [ gpl3 ];
|
|
|
|
maintainers = with lib.maintainers; [ apeyroux ];
|
|
|
|
};
|
2017-07-13 14:09:33 +01:00
|
|
|
}
|