summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-string-utils
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-04-25 18:14:16 +0000
committerGitHub <noreply@github.com>2021-04-25 18:14:16 +0000
commitd33f412a41e601a038ac66b6b26bee6f2bef7fa2 (patch)
tree33a008572ddefeecd400af749448af876e8d5a49 /pkgs/development/python-modules/python-string-utils
parenta5f2aae9f38d0e4ef215d292c88fa2e713851bf7 (diff)
parent6af7bcbd9324a12624dad9a799898e68d2e5d092 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/python-string-utils')
-rw-r--r--pkgs/development/python-modules/python-string-utils/default.nix27
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 ];
+ };
+}