5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
44 lines
818 B
Nix
44 lines
818 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, gobject-introspection
|
|
, gtk3
|
|
, poetry-core
|
|
, pyenchant
|
|
, pygobject3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygtkspellcheck";
|
|
version = "5.0.3";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-NzaxRXU3BTIcRO9nowEak+Vk+XYw8nBCsTl//e/qg6w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pyenchant
|
|
pygobject3
|
|
gtk3
|
|
];
|
|
|
|
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; [ ];
|
|
};
|
|
}
|