nixpkgs/pkgs/development/libraries/console-bridge/default.nix
2022-03-12 05:05:50 +00:00

24 lines
683 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, validatePkgConfig }:
stdenv.mkDerivation rec {
pname = "console-bridge";
version = "1.0.2";
src = fetchFromGitHub {
owner = "ros";
repo = "console_bridge";
rev = version;
sha256 = "sha256-M3GocT0hodw3Sc2NHcFDiPVZ1XN7BqIUuYLW8OaXMqM=";
};
nativeBuildInputs = [ cmake validatePkgConfig ];
meta = with lib; {
description = "A ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for ROS-dependent packages";
homepage = "https://github.com/ros/console_bridge";
license = licenses.bsd3;
maintainers = with maintainers; [ lopsided98 ];
platforms = platforms.all;
};
}