blob: 809bfd171132d06e5eab8b340a7e3d105fde1969 (
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
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
colcon,
# tests
pytestCheckHook,
scspell,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "colcon-recursive-crawl";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "colcon";
repo = "colcon-recursive-crawl";
tag = version;
hash = "sha256-zmmEelMjsIbXy5LchZMtr2+x+Ne2c2PhexLjbkZJmm8=";
};
build-system = [ setuptools ];
dependencies = [
colcon
];
nativeCheckInputs = [
pytestCheckHook
scspell
writableTmpDirAsHomeHook
];
disabledTestPaths = [
# Skip the linter tests that require additional dependencies
"test/test_flake8.py"
];
pythonImportsCheck = [ "colcon_recursive_crawl" ];
meta = {
description = "Extension for colcon to recursively crawl for packages";
homepage = "https://colcon.readthedocs.io/";
downloadPage = "https://github.com/colcon/colcon-recursive-crawl";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ guelakais ];
};
}
|