diff options
| author | Alexander Shestakov <a.shestakov@itransition.com> | 2021-07-12 12:50:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-12 12:50:28 +0300 |
| commit | cf364240093b278aeebca2ce7eff97748af7315a (patch) | |
| tree | 92ee610712836b7c7725afcd854aaec1ddd63151 /pkgs/development/python-modules/python-string-utils/default.nix | |
| parent | 671dd83a29a69aab6fd7f9ac133d115a35516435 (diff) | |
| parent | 13b3e91794b9c3ef258122d946524eb57e3d13fd (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'pkgs/development/python-modules/python-string-utils/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/python-string-utils/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-string-utils/default.nix b/pkgs/development/python-modules/python-string-utils/default.nix new file mode 100644 index 000000000000..d8d1b136fb3e --- /dev/null +++ b/pkgs/development/python-modules/python-string-utils/default.nix @@ -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 ]; + }; +} |
