1{ lib, buildPythonPackage, fetchPypi, gobject-introspection, gtk3, pyenchant, pygobject3 }:
2
3buildPythonPackage rec {
4 pname = "pygtkspellcheck";
5 version = "5.0.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-hIHf1LBmFhPWN138jaAAOpmx+frbe6XM22+jG+OWcvw=";
10 };
11
12 nativeBuildInputs = [ gobject-introspection ];
13 propagatedBuildInputs = [ pyenchant pygobject3 gtk3 ];
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}