1{ lib, buildPythonPackage, fetchPypi, gobject-introspection, gtk3, pyenchant, pygobject3 }: 2 3buildPythonPackage rec { 4 pname = "pygtkspellcheck"; 5 version = "4.0.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0pc3xmv1q775hn4kc1kspvpdn4gm7ix3aw6hz9iy3brfcw6ddcl4"; 10 }; 11 12 nativeBuildInputs = [ gobject-introspection gtk3 ]; 13 propagatedBuildInputs = [ pyenchant pygobject3 ]; 14 15 doCheck = false; # there are no tests 16 pythonImportsCheck = [ "gtkspellcheck" ]; 17 18 meta = with lib; { 19 homepage = "https://github.com/koehlma/pygtkspellcheck"; 20 description = "A Python spell-checking library for GtkTextViews based on Enchant"; 21 license = licenses.gpl3Plus; 22 maintainers = with maintainers; [ xfix ]; 23 }; 24}