diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/braceexpand/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/braceexpand/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/braceexpand/default.nix b/nixpkgs/pkgs/development/python-modules/braceexpand/default.nix new file mode 100644 index 000000000000..c5e711bb8043 --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |