nix-ros-overlay/distros/foxy/angles/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

32 lines
1.3 KiB
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, python3Packages }:
buildRosPackage {
pname = "ros-foxy-angles";
version = "1.12.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/angles-release/archive/release/foxy/angles/1.12.6-1.tar.gz";
name = "1.12.6-1.tar.gz";
sha256 = "a4f16d3854d340b4008e2cd556fe411cdf39c00764902264d2d6fa5dabe28e69";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python python3Packages.setuptools ];
nativeBuildInputs = [ ament-cmake ament-cmake-python python3Packages.setuptools ];
meta = {
description = ''This package provides a set of simple math utilities to work
with angles. The utilities cover simple things like
normalizing an angle and conversion between degrees and
radians. But even if you're trying to calculate things like
the shortest angular distance between two joint space
positions of your robot, but the joint motion is constrained
by joint limits, this package is what you need. The code in
this package is stable and well tested. There are no plans for
major changes in the near future.'';
license = with lib.licenses; [ bsdOriginal ];
};
}