mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
24 lines
794 B
Nix
24 lines
794 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-humble-ament-mypy";
|
|
version = "0.12.12-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/humble/ament_mypy/0.12.12-1.tar.gz";
|
|
name = "0.12.12-1.tar.gz";
|
|
sha256 = "6f083a3a33b24a002958df53724fe8674c6521e7b3fbf64e653e9888601992f2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|