2023-06-19 17:15:23 -04:00
|
|
|
|
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-flake8, python3Packages, pythonPackages }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-iron-ament-mypy";
|
2023-09-15 13:13:19 +00:00
|
|
|
version = "0.14.2-r1";
|
2023-06-19 17:15:23 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-09-15 13:13:19 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_mypy/0.14.2-1.tar.gz";
|
|
|
|
name = "0.14.2-1.tar.gz";
|
|
|
|
sha256 = "992f5f96c279cc99c6bdf80d3897158c172b0bba43d2e0beb41b816fa0e1577d";
|
2023-06-19 17:15:23 -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 ];
|
|
|
|
};
|
|
|
|
}
|