2020-07-17 13:18:57 +00:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-07-17 13:18:57 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, boost }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-random-numbers";
|
2020-12-11 13:16:21 +00:00
|
|
|
version = "2.0.0-r1";
|
2020-07-17 13:18:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-12-11 13:16:21 +00:00
|
|
|
url = "https://github.com/moveit/random_numbers-release/archive/release/foxy/random_numbers/2.0.0-1.tar.gz";
|
|
|
|
name = "2.0.0-1.tar.gz";
|
|
|
|
sha256 = "427a010ef39d42760986981e0fa0e47955b0d0f4cb9aec7cfc71d8a70c6b89d1";
|
2020-07-17 13:18:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This library contains wrappers for generating floating point values, integers, quaternions using boost libraries.
|
|
|
|
|
|
|
|
The constructor of the wrapper is guaranteed to be thread safe and initialize its random number generator to a random seed.
|
|
|
|
Seeds are obtained using a separate and different random number generator.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|