nix-ros-overlay/distros/jazzy/ament-mypy/default.nix

24 lines
789 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-flake8, python3Packages }:
buildRosPackage {
pname = "ros-jazzy-ament-mypy";
version = "0.17.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/jazzy/ament_mypy/0.17.2-1.tar.gz";
name = "0.17.2-1.tar.gz";
sha256 = "93ae2bf6fddcc1154b81bee6074c12faa69b2da7944b1b3bd0d73892c517ac9c";
};
buildType = "ament_python";
checkInputs = [ ament-flake8 python3Packages.pytest python3Packages.pytest-mock ];
propagatedBuildInputs = [ python3Packages.mypy ];
meta = {
description = "Support for mypy static type checking in ament.";
license = with lib.licenses; [ asl20 ];
};
}