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