1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "bracex";
12 version = "2.4";
13 format = "pyproject";
14 disabled = pythonOlder "3.8";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-on6vHfQs9WH+1Yt6jz/fEp0eoWqB4frdHReYm8Y4S+s=";
19 };
20
21 nativeBuildInputs = [ hatchling ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "bracex" ];
26
27 meta = with lib; {
28 description = "Bash style brace expansion for Python";
29 homepage = "https://github.com/facelessuser/bracex";
30 license = licenses.mit;
31 maintainers = [ ];
32 };
33}