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 = "1.1.0";
15
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "ros-infrastructure";
20 repo = "catkin_pkg";
21 tag = version;
22 hash = "sha256-V4iurFt1WmY2jXy0A4Qa2eKMCWmR+Hs3d9pru0/zUSM=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
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 changelog = "https://github.com/ros-infrastructure/catkin_pkg/blob/${src.tag}/CHANGELOG.rst";
41 description = "Library for retrieving information about catkin packages";
42 homepage = "http://wiki.ros.org/catkin_pkg";
43 license = lib.licenses.bsd3;
44 maintainers = with lib.maintainers; [
45 wentasah
46 ];
47 };
48}