mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
grammalecte: 0.5.17.2 -> 0.5.18 (#28510)
This commit is contained in:
parent
65e4856058
commit
a65a499ca2
@ -7,17 +7,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grammalecte";
|
||||
version = "0.5.17.2";
|
||||
version = "0.5.18";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
|
||||
sha256 = "1g5i978cdz14rfdi4z2ayb2c1rf8cq991slwsv0krhpvl9ripl9c";
|
||||
sha256 = "0izfsqsj8w4awhmwmn4x8wwpqsmqbnfvfafzk93i6yj0l3fn3i97";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ bottle ];
|
||||
|
||||
patches = [ ./spellchecker.patch ];
|
||||
preBuild = "cd ..";
|
||||
postInstall = ''
|
||||
mkdir $out/bin
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/spellchecker.py b/spellchecker.py
|
||||
index 37ac0ea..a60b3a9 100644
|
||||
--- a/spellchecker.py
|
||||
+++ b/spellchecker.py
|
||||
@@ -2,7 +2,7 @@
|
||||
# Wrapper for the IBDAWG class.
|
||||
# Useful to check several dictionaries at once.
|
||||
|
||||
-import ibdawg
|
||||
+from grammalecte import ibdawg
|
||||
|
||||
|
||||
dDictionaries = {
|
Loading…
Reference in New Issue
Block a user