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

24 lines
780 B
Nix
Raw Normal View History

# Copyright 2020 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.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ament_index-release/archive/release/foxy/ament_index_python/1.0.0-1.tar.gz";
name = "1.0.0-1.tar.gz";
sha256 = "64ffefa83b213bdcd5f741f7291775db481a9a3983baf4af4ebeda63761b8d14";
};
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 ];
};
}