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