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

30 lines
645 B
Nix
Raw Normal View History

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