python3Packages.python-string-utils: init at 1.0.0

This commit is contained in:
Matthieu Coudron 2021-04-16 14:50:31 +02:00
parent c14b9e5f86
commit b929d94a75
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "python-string-utils";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}

View file

@ -6359,6 +6359,8 @@ in {
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
python-string-utils = callPackage ../development/python-modules/python-string-utils { };
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
pytest-subtesthack = callPackage ../development/python-modules/pytest-subtesthack { };