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

23 lines
780 B
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, pythonPackages }:
buildRosPackage {
pname = "ros-foxy-ament-index-python";
version = "1.1.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_index-release/archive/release/foxy/ament_index_python/1.1.0-1.tar.gz";
name = "1.1.0-1.tar.gz";
sha256 = "0836dc79b482dfb39e8683d61e8f1027a1765e06874fcd16781fb20198deddef";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
meta = {
description = ''Python API to access the ament resource index.'';
license = with lib.licenses; [ asl20 ];
};
}