1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, bracex }: 2 3buildPythonPackage rec { 4 pname = "wcmatch"; 5 version = "8.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db"; 10 }; 11 12 propagatedBuildInputs = [ bracex ]; 13 14 checkInputs = [ pytestCheckHook ]; 15 16 preCheck = '' 17 export HOME=$(mktemp -d) 18 ''; 19 20 disabledTests = [ 21 "TestTilde" 22 ]; 23 24 pythonImportsCheck = [ "wcmatch" ]; 25 26 meta = with lib; { 27 description = "Wilcard File Name matching library"; 28 homepage = "https://github.com/facelessuser/wcmatch"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ SuperSandro2000 ]; 31 }; 32}