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

24 lines
812 B
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-flake8, python3Packages, pythonPackages }:
buildRosPackage {
pname = "ros-galactic-ament-mypy";
version = "0.10.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_lint-release/archive/release/galactic/ament_mypy/0.10.6-1.tar.gz";
name = "0.10.6-1.tar.gz";
sha256 = "a60ef820e2e6bd754b1d16beec3946ff192036876a5ebbb9df11948b6d9673a6";
};
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 ];
};
}