diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/grammalecte')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/grammalecte/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/grammalecte/default.nix b/nixpkgs/pkgs/development/python-modules/grammalecte/default.nix new file mode 100644 index 000000000000..01c052bfdce8 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/grammalecte/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchurl +, bottle +, isPy3k +}: + +buildPythonPackage rec { + pname = "grammalecte"; + version = "0.6.5"; + + src = fetchurl { + url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip"; + sha256 = "11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0"; + }; + + propagatedBuildInputs = [ bottle ]; + + preBuild = "cd .."; + + disabled = !isPy3k; + + meta = { + description = "Grammalecte is an open source grammar checker for the French language"; + homepage = https://grammalecte.net; + license = with lib.licenses; [ gpl3 ]; + maintainers = with lib.maintainers; [ apeyroux ]; + }; +} |