about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-string-utils/default.nix
blob: 1166ad79ff34e9348900ae8d6fef60acdd26e3d7 (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
25
26
27
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "python-string-utils";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3PkGCwPwdkfApgNAjciwP4B/O1SgXG4Z6xRGAlb6wMs=";
  };

  pythonImportsCheck = [ "string_utils" ];

  # tests are not available in pypi tarball
  doCheck = false;

  meta = with lib; {
    description = "A handy Python library to validate, manipulate and generate strings";
    homepage = "https://github.com/daveoncode/python-string-utils";
    license = licenses.mit;
    maintainers = with maintainers; [ teto ];
  };
}