summary refs log tree commit diff
path: root/pkgs/development/python-modules/braceexpand
diff options
context:
space:
mode:
authorAlex Martens <alexmgit@protonmail.com>2021-10-16 08:23:38 -0700
committerAlex Martens <alexmgit@protonmail.com>2021-10-16 08:23:38 -0700
commitce036aad8e7f3ae46d2e60dd04a877896fc1083a (patch)
tree0386d058e9a677f303d854931092f5a200ec87b1 /pkgs/development/python-modules/braceexpand
parentc4c85b5764e9276288b439f8cee86021ac011e8d (diff)
python3Packages.braceexpand: init at 0.1.7
Diffstat (limited to 'pkgs/development/python-modules/braceexpand')
-rw-r--r--pkgs/development/python-modules/braceexpand/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/braceexpand/default.nix b/pkgs/development/python-modules/braceexpand/default.nix
new file mode 100644
index 0000000000000..c5e711bb8043d
--- /dev/null
+++ b/pkgs/development/python-modules/braceexpand/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, pythonOlder
+, fetchPypi
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "braceexpand";
+  version = "0.1.7";
+
+  disabled = pythonOlder "3.8";
+
+  src = fetchPypi {
+    inherit version pname;
+    sha256 = "01gpcnksnqv6np28i4x8s3wkngawzgs99zvjfia57spa42ykkrg6";
+  };
+
+  checkInputs = [ pytestCheckHook ];
+
+  pythonImportsCheck = [ "braceexpand" ];
+
+  meta = with lib; {
+    description = "Bash-style brace expansion for Python";
+    homepage = "https://github.com/trendels/braceexpand";
+    changelog = "https://github.com/trendels/braceexpand/blob/v${version}/CHANGELOG.md";
+    license = licenses.mit;
+    maintainers = with maintainers; [ newam ];
+  };
+}