mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
![]() |
|
||
|
# Copyright 2023 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-cmake, boost }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-foxy-random-numbers";
|
||
|
version = "2.0.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/moveit/random_numbers-release/archive/release/foxy/random_numbers/2.0.1-1.tar.gz";
|
||
|
name = "2.0.1-1.tar.gz";
|
||
|
sha256 = "f1760587db0f37ead708d4bd250a096d94ac4d6b46b8cd5092dc824786e1a5e2";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
buildInputs = [ ament-cmake ];
|
||
|
checkInputs = [ ament-lint-auto ament-lint-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 ];
|
||
|
};
|
||
|
}
|