1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "bracex";
5 version = "2.2.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21";
10 };
11
12 checkInputs = [ pytestCheckHook ];
13
14 pythonImportsCheck = [ "bracex" ];
15
16 meta = with lib; {
17 description = "Bash style brace expansion for Python";
18 homepage = "https://github.com/facelessuser/bracex";
19 license = licenses.mit;
20 maintainers = with maintainers; [ SuperSandro2000 ];
21 };
22}