diff options
| author | Roland Synnestvedt <contact@rsynnest.com> | 2021-07-13 10:09:12 -0700 |
|---|---|---|
| committer | Roland Synnestvedt <contact@rsynnest.com> | 2021-07-13 10:09:12 -0700 |
| commit | fa8f004781886bff95fa4044077504e430470a7f (patch) | |
| tree | bc4e51b5bb90352321d2fdf06d8e332acaf7fe44 /pkgs/development/python-modules/python-string-utils | |
| parent | b562ae6c319a0ee47f297c3b71ed13385c4549d8 (diff) | |
| parent | e223f84cd8c279b892c53f5d779d6e63eb4277eb (diff) | |
Merge branch 'master' of https://github.com/nixos/nixpkgs
Diffstat (limited to 'pkgs/development/python-modules/python-string-utils')
| -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 ]; + }; +} |
