depot/third_party/nixpkgs/pkgs/development/python-modules/pygtkspellcheck/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

43 lines
802 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 = "Python spell-checking library for GtkTextViews based on Enchant";
license = licenses.gpl3Plus;
maintainers = [ ];
};
}