2020-06-12 18:02:43 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -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-foxy-ament-cmake-mypy";
|
2020-12-11 13:16:21 +00:00
|
|
|
version = "0.9.6-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-12-11 13:16:21 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/foxy/ament_cmake_mypy/0.9.6-1.tar.gz";
|
|
|
|
name = "0.9.6-1.tar.gz";
|
|
|
|
sha256 = "1bc59cd47a18ea789fc869cf93b5f1cfb7d9e59081fcf737b1d904fa71141d74";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
|
|
|
|
propagatedBuildInputs = [ ament-cmake-test ament-mypy ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The CMake API for ament_mypy to perform static type analysis on python code
|
|
|
|
with mypy.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|