summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-string-utils
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-04-25 14:13:17 +0100
committerGitHub <noreply@github.com>2021-04-25 14:13:17 +0100
commit6e9671b6cb2341af2b3db9c8461aaf066239f7dc (patch)
tree2c8dfbe4e61fe0316304c4fa084ed359b05e9e3e /pkgs/development/python-modules/python-string-utils
parented83f6455ccf9a84d5db6dc825959cb75f2ea8a6 (diff)
parentb02d4a38d9611ee99fd20aa9fddc6dbfcc555d6c (diff)
Merge pull request #119960 from teto/openshift
python3Packages.openshift: init at 0.12.0
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 ];
+ };
+}