1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "braceexpand";
10 version = "0.1.7";
11
12 disabled = pythonOlder "3.8";
13
14 src = fetchPypi {
15 inherit version pname;
16 sha256 = "01gpcnksnqv6np28i4x8s3wkngawzgs99zvjfia57spa42ykkrg6";
17 };
18
19 checkInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "braceexpand" ];
22
23 meta = with lib; {
24 description = "Bash-style brace expansion for Python";
25 homepage = "https://github.com/trendels/braceexpand";
26 changelog = "https://github.com/trendels/braceexpand/blob/v${version}/CHANGELOG.md";
27 license = licenses.mit;
28 maintainers = with maintainers; [ newam ];
29 };
30}