about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygtkspellcheck/default.nix
blob: 0f3017f43789829c203c3160e316d46aefabc46b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, gobject-introspection, gtk3, pyenchant, pygobject3 }:

buildPythonPackage rec {
  pname = "pygtkspellcheck";
  version = "5.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-hIHf1LBmFhPWN138jaAAOpmx+frbe6XM22+jG+OWcvw=";
  };

  nativeBuildInputs = [ gobject-introspection ];
  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 ];
  };
}