2021-06-04 09:07:49 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, gobject-introspection, gtk3, pyenchant, pygobject3 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygtkspellcheck";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "5.0.0";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-kfhoOLnKbA9jH4DUtQw0nATjK21pMNxyAOzYDLQkR4U=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = [ gobject-introspection ];
|
|
|
|
propagatedBuildInputs = [ pyenchant pygobject3 gtk3 ];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
pythonImportsCheck = [ "gtkspellcheck" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/koehlma/pygtkspellcheck";
|
|
|
|
description = "A Python spell-checking library for GtkTextViews based on Enchant";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ xfix ];
|
|
|
|
};
|
|
|
|
}
|