blob: 9b65673669316e7fd428305efeb91be10b5eb0e6 (
plain)
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 = "10.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-8R+UIIyMhIShb09IY4qF13HZUT9Ks/N1lZeIAcuUZa8=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ bracex ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTests = [ "TestTilde" ];
pythonImportsCheck = [ "wcmatch" ];
meta = {
description = "Wilcard File Name matching library";
homepage = "https://github.com/facelessuser/wcmatch";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|