2022-06-09 18:50:37 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-copyright, ament-cmake-core, ament-cmake-lint-cmake, ament-cmake-test, ament-mypy }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-ament-cmake-mypy";
|
2023-11-24 13:11:26 +00:00
|
|
|
version = "0.12.9-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-11-24 13:11:26 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_cmake_mypy/0.12.9-1.tar.gz";
|
|
|
|
name = "0.12.9-1.tar.gz";
|
|
|
|
sha256 = "a2dfee08af1449fed9002261f622cb4d49fea9a3d6134e0489cc3a7acd6b0e2d";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake-core ];
|
2022-06-09 18:50:37 -04:00
|
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
|
|
propagatedBuildInputs = [ ament-cmake-test ament-mypy ];
|
2022-11-04 19:29:56 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ament-mypy ];
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The CMake API for ament_mypy to perform static type analysis on python code
|
|
|
|
with mypy.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|