summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-string-utils
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-02-11 14:03:56 +0100
committerGitHub <noreply@github.com>2023-02-11 14:03:56 +0100
commit86a387351acf96b7137f5f385d978bf3681c7239 (patch)
tree893ce1c726bda9df7ec2e3d1649ba811563570ab /pkgs/development/python-modules/python-string-utils
parent5d012c4bb21fa9bee9f34339f95ef8fffa052d56 (diff)
parentd8d4f25cd2ba0af3a7d35ebce9e05d1eb58b03f4 (diff)
Merge branch 'master' into nixos/hostapd
Diffstat (limited to 'pkgs/development/python-modules/python-string-utils')
-rw-r--r--pkgs/development/python-modules/python-string-utils/default.nix26
1 files changed, 26 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..1185959f0c6f
--- /dev/null
+++ b/pkgs/development/python-modules/python-string-utils/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+}:
+
+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 ];
+ };
+}