1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 gobject-introspection,
6 gtk3,
7 poetry-core,
8 pyenchant,
9 pygobject3,
10}:
11
12buildPythonPackage rec {
13 pname = "pygtkspellcheck";
14 version = "5.0.3";
15 format = "pyproject";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-NzaxRXU3BTIcRO9nowEak+Vk+XYw8nBCsTl//e/qg6w=";
20 };
21
22 nativeBuildInputs = [
23 gobject-introspection
24 poetry-core
25 ];
26
27 propagatedBuildInputs = [
28 pyenchant
29 pygobject3
30 gtk3
31 ];
32
33 doCheck = false; # there are no tests
34
35 pythonImportsCheck = [ "gtkspellcheck" ];
36
37 meta = with lib; {
38 homepage = "https://github.com/koehlma/pygtkspellcheck";
39 description = "Python spell-checking library for GtkTextViews based on Enchant";
40 license = licenses.gpl3Plus;
41 maintainers = [ ];
42 };
43}