2022-06-09 18:50:37 -04:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-flake8, python3Packages }:
|
2022-06-09 18:50:37 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-ament-mypy";
|
2025-04-04 13:36:01 +00:00
|
|
|
version = "0.12.12-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-04-04 13:36:01 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_mypy/0.12.12-1.tar.gz";
|
|
|
|
name = "0.12.12-1.tar.gz";
|
|
|
|
sha256 = "6f083a3a33b24a002958df53724fe8674c6521e7b3fbf64e653e9888601992f2";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
2025-01-03 13:42:37 +00:00
|
|
|
checkInputs = [ ament-flake8 python3Packages.pytest python3Packages.pytest-mock ];
|
2022-06-09 18:50:37 -04:00
|
|
|
propagatedBuildInputs = [ python3Packages.mypy ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "Support for mypy static type checking in ament.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|