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