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-flake8, python3Packages, pythonPackages }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-ament-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_mypy/0.12.9-1.tar.gz";
|
|
|
|
name = "0.12.9-1.tar.gz";
|
|
|
|
sha256 = "aaba7fc4fb8a1b7dcec447f5e3a1f28bff7a5c0032be2939b8f06423f1371e7b";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-flake8 python3Packages.pytest-mock pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ python3Packages.mypy ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Support for mypy static type checking in ament.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|