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.0.0";
15
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "ros-infrastructure";
20 repo = "catkin_pkg";
21 rev = version;
22 hash = "sha256-lHUKhE9dQLO1MbkstUEiGrHc9Rm+bY/AmgLyh7AbvFQ=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 docutils
29 pyparsing
30 python-dateutil
31 setuptools
32 ];
33
34 pythonImportsCheck = [ "catkin_pkg" ];
35
36 nativeCheckInputs = [ pytestCheckHook ];
37
38 disabledTestPaths = [ "test/test_flake8.py" ];
39
40 meta = {
41 changelog = "https://github.com/ros-infrastructure/catkin_pkg/blob/${version}/CHANGELOG.rst";
42 description = "Library for retrieving information about catkin packages";
43 homepage = "http://wiki.ros.org/catkin_pkg";
44 license = lib.licenses.bsd3;
45 maintainers = with lib.maintainers; [ jnsgruk ];
46 };
47}