1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, bracex }:
2
3buildPythonPackage rec {
4 pname = "wcmatch";
5 version = "8.1.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "efda751de15201b395b6d6e64e6ae3b6b03dc502a64c3c908aa5cad14c27eee5";
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}