1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 docutils,
6 pyparsing,
7 python-dateutil,
8 setuptools,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "catkin-pkg";
14 version = "0.5.2";
15
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "ros-infrastructure";
20 repo = "catkin_pkg";
21 rev = version;
22 hash = "sha256-DjaPpLDsLpYOZukf5tYe6ZetSNTe/DJ2lS9BUsehZ8k=";
23 };
24
25 nativeBuildInputs = [ setuptools ];
26
27 propagatedBuildInputs = [
28 docutils
29 pyparsing
30 python-dateutil
31 ];
32
33 pythonImportsCheck = [ "catkin_pkg" ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 disabledTestPaths = [ "test/test_flake8.py" ];
38
39 meta = {
40 description = "Library for retrieving information about catkin packages";
41 homepage = "http://wiki.ros.org/catkin_pkg";
42 license = lib.licenses.bsd3;
43 maintainers = with lib.maintainers; [ jnsgruk ];
44 };
45}