blob: bb91fba1c264fbc33a3b0d09218d523886e6abce (
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
41
42
43
44
45
46
47
48
49
|
{
buildPythonPackage,
fetchFromGitHub,
flit-core,
lib,
pytest,
pytestCheckHook,
pythonAtLeast,
}:
buildPythonPackage rec {
pname = "virtual-glob";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = "virtual-glob";
tag = "v${version}";
hash = "sha256-ocCa8m7mPPvzOZHPrraSEdSJZwRJoYO/Q7nyDbhIFu8=";
};
build-system = [
flit-core
];
optional-dependencies = {
testing = [
pytest
];
};
pythonImportsCheck = [
"virtual_glob"
];
disabledTests = lib.optionals (pythonAtLeast "3.13") [
"test_baseline_pathlib"
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Globbing of virtual file systems";
homepage = "https://pypi.org/project/virtual_glob/";
maintainers = with lib.maintainers; [ PopeRigby ];
license = lib.licenses.mit;
};
}
|