1{ lib 2, buildPythonPackage 3, fetchPypi 4, hatchling 5, pytestCheckHook 6, bracex 7}: 8 9buildPythonPackage rec { 10 pname = "wcmatch"; 11 version = "8.5"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-hsF1ctD3XL87yxoY878vnnKzmpwIybSnTpkeGIKo77M="; 17 }; 18 19 nativeBuildInputs = [ 20 hatchling 21 ]; 22 23 propagatedBuildInputs = [ bracex ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 preCheck = '' 28 export HOME=$(mktemp -d) 29 ''; 30 31 disabledTests = [ 32 "TestTilde" 33 ]; 34 35 pythonImportsCheck = [ "wcmatch" ]; 36 37 meta = with lib; { 38 description = "Wilcard File Name matching library"; 39 homepage = "https://github.com/facelessuser/wcmatch"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ ]; 42 }; 43}