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