mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 10:40:33 +03:00
grammalecte: 0.6.5 -> 2.1.1
This commit is contained in:
parent
5caed9dc02
commit
a6e1747d00
@ -7,23 +7,29 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "grammalecte";
|
pname = "grammalecte";
|
||||||
version = "0.6.5";
|
version = "2.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
url = "https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
||||||
sha256 = "11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0";
|
sha256 = "076jv3ywdgqqzg92bfbagc7ypy08xjq5zn4vgna6j9350fkfqhzn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
runHook prePatch
|
||||||
|
substituteInPlace grammalecte-server.py --replace sys.version_info.major sys.version_info
|
||||||
|
runHook postPatch
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ bottle ];
|
propagatedBuildInputs = [ bottle ];
|
||||||
|
|
||||||
preBuild = "cd ..";
|
sourceRoot = ".";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Grammalecte is an open source grammar checker for the French language";
|
description = "An open source grammar and typographic corrector for the French language";
|
||||||
homepage = "https://grammalecte.net";
|
homepage = "https://grammalecte.net";
|
||||||
license = with lib.licenses; [ gpl3 ];
|
license = lib.licenses.gpl3Only;
|
||||||
maintainers = with lib.maintainers; [ apeyroux ];
|
maintainers = with lib.maintainers; [ apeyroux ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user