1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "python-string-utils";
9 version = "1.0.0";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-3PkGCwPwdkfApgNAjciwP4B/O1SgXG4Z6xRGAlb6wMs=";
15 };
16
17 pythonImportsCheck = [ "string_utils" ];
18
19 # tests are not available in pypi tarball
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Handy Python library to validate, manipulate and generate strings";
24 homepage = "https://github.com/daveoncode/python-string-utils";
25 license = licenses.mit;
26 maintainers = with maintainers; [ teto ];
27 };
28}