python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / pyphen / default.nix
blob4cc14534185b4d443aa40e5907a7f7ee0510a090
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   flit-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pyphen";
12   version = "0.17.0";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-HROs0c43o4TXYSlUrmx4AbtMUxbaDiuTeyEnunAqPaQ=";
20   };
22   build-system = [ flit-core ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "pyphen" ];
28   meta = with lib; {
29     description = "Module to hyphenate text";
30     homepage = "https://github.com/Kozea/Pyphen";
31     changelog = "https://github.com/Kozea/Pyphen/releases/tag/${version}";
32     license = with licenses; [
33       gpl2
34       lgpl21
35       mpl20
36     ];
37   };