aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/jaraco_text/default.nix
blob: 9b3821edd7a0db9de09dd9e58877dceeca160100 (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
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, importlib-resources
, jaraco_functools
, setuptools_scm
}:

buildPythonPackage rec {
  pname = "jaraco.text";
  version = "3.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
  };

  nativeBuildInputs =[ setuptools_scm ];
  propagatedBuildInputs = [
    jaraco_functools
  ] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];

  # no tests in pypi package
  doCheck = false;

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

}