summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jaraco-text/default.nix
blob: 18ba86c68b5f59454071510724fac1d6ac13a6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  lib,
  buildPythonPackage,
  fetchPypi,
  autocommand,
  jaraco-functools,
  jaraco-context,
  inflect,
  pytestCheckHook,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "jaraco-text";
  version = "4.0.0";
  pyproject = true;

  src = fetchPypi {
    pname = "jaraco_text";
    inherit version;
    hash = "sha256-W3H+zqaatvk51MkGwE/uHtp2UA0WQRF99uxFuGXxDbA=";
  };

  pythonNamespaces = [ "jaraco" ];

  nativeBuildInputs = [ setuptools-scm ];

  propagatedBuildInputs = [
    autocommand
    jaraco-context
    jaraco-functools
    inflect
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "jaraco.text" ];

  meta = {
    description = "Module for text manipulation";
    homepage = "https://github.com/jaraco/jaraco.text";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}