nixpkgs/pkgs/development/libraries/lcm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
678 B
Nix
Raw Normal View History

2022-06-24 19:22:33 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, glib, pkg-config }:
stdenv.mkDerivation rec {
pname = "lcm";
2023-04-23 02:50:10 +00:00
version = "1.5.0";
2022-06-24 19:22:33 +00:00
src = fetchFromGitHub {
owner = "lcm-proj";
repo = "lcm";
rev = "v${version}";
2023-04-23 02:50:10 +00:00
hash = "sha256-IFHoJl5OtnUb+w3gLG5f578yAektjgrY9Uj2eUVoIrc=";
2022-06-24 19:22:33 +00:00
};
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;
};
}