1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/iron/ament-mypy/default.nix

25 lines
804 B
Nix
Raw Normal View History

# Copyright 2023 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.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/iron/ament_mypy/0.14.1-2.tar.gz";
name = "0.14.1-2.tar.gz";
sha256 = "d2a7184a99fa73c8e09c9388141ef8aacc35bbeb964e7395a0c4a0a54b91f29d";
};
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 ];
};
}