nixpkgs/pkgs/by-name/lc/lcm/package.nix
2024-12-24 04:13:22 +00:00

44 lines
705 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
glib,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "lcm";
version = "1.5.1";
src = fetchFromGitHub {
owner = "lcm-proj";
repo = "lcm";
rev = "v${version}";
hash = "sha256-043AJzalfx+qcCoxQgPU4T/DcUH0pXOE4v1aJaW3aXs=";
};
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;
};
}