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

24 lines
802 B
Nix

# Copyright 2024 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";
version = "0.14.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_mypy/0.14.4-1.tar.gz";
name = "0.14.4-1.tar.gz";
sha256 = "c1fc6eb47b4425d00f804cd8d9457335cd56883686eedfb6da93ec0954b5d127";
};
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 ];
};
}