depot/third_party/nixpkgs/pkgs/development/python-modules/pygtkspellcheck/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

24 lines
737 B
Nix

{ lib, buildPythonPackage, fetchPypi, gobject-introspection, gtk3, pyenchant, pygobject3 }:
buildPythonPackage rec {
pname = "pygtkspellcheck";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kfhoOLnKbA9jH4DUtQw0nATjK21pMNxyAOzYDLQkR4U=";
};
nativeBuildInputs = [ gobject-introspection gtk3 ];
propagatedBuildInputs = [ pyenchant pygobject3 ];
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 ];
};
}