nix-ros-overlay/distros/humble/ament-index-python/default.nix

23 lines
784 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, python3Packages }:
buildRosPackage {
pname = "ros-humble-ament-index-python";
version = "1.4.0-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_index-release/archive/release/humble/ament_index_python/1.4.0-2.tar.gz";
name = "1.4.0-2.tar.gz";
sha256 = "90ec6fd306f83cf1955ff016f0c1eb02d81f43697280b87f93f748a748bcb825";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
meta = {
description = "Python API to access the ament resource index.";
license = with lib.licenses; [ asl20 ];
};
}