depot/third_party/nixpkgs/pkgs/development/libraries/lcm/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

32 lines
678 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, glib, pkg-config }:
stdenv.mkDerivation rec {
pname = "lcm";
version = "1.5.0";
src = fetchFromGitHub {
owner = "lcm-proj";
repo = "lcm";
rev = "v${version}";
hash = "sha256-IFHoJl5OtnUb+w3gLG5f578yAektjgrY9Uj2eUVoIrc=";
};
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [
glib
];
meta = with lib; {
description = "Lightweight Communications and Marshalling (LCM)";
homepage = "https://github.com/lcm-proj/lcm";
license = licenses.lgpl21;
maintainers = with maintainers; [ kjeremy ];
platforms = lib.platforms.unix;
};
}