1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00
nix-ros-overlay/distros/humble/ament-cmake-mypy/default.nix

27 lines
1,010 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# 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";
version = "0.12.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_cmake_mypy/0.12.12-1.tar.gz";
name = "0.12.12-1.tar.gz";
sha256 = "ef56b44b3c86d5278dcbac76a1465c8ac27dad6df07c82c81c5a8287473a33f4";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ ament-cmake-copyright ament-cmake-lint-cmake ];
propagatedBuildInputs = [ ament-cmake-test ament-mypy ];
nativeBuildInputs = [ ament-cmake-core ament-cmake-test ament-mypy ];
meta = {
description = "The CMake API for ament_mypy to perform static type analysis on python code
with mypy.";
license = with lib.licenses; [ asl20 ];
};
}