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