depot/third_party/nixpkgs/pkgs/development/python-modules/pygtkspellcheck/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

44 lines
823 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, gobject-introspection
, gtk3
, poetry-core
, pyenchant
, pygobject3
}:
buildPythonPackage rec {
pname = "pygtkspellcheck";
version = "5.0.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-rWV/ghoMWHOAmT8ablwOjJSEhtvPqT/UdoZBXL5Nj0s=";
};
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; [ xfix ];
};
}