{ lib, buildPythonPackage, fetchPypi, hatchling, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "bracex"; version = "2.6"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-mPE0fNd+Iu6NlnowrU4xCyM/d1Tb8x/z/Ot2FFukfcc="; }; nativeBuildInputs = [ hatchling ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "bracex" ]; meta = with lib; { description = "Bash style brace expansion for Python"; homepage = "https://github.com/facelessuser/bracex"; license = licenses.mit; maintainers = [ ]; }; }