about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/lcm/default.nix
blob: dcd50a6f4fe1d3c71a496d86bb358d51ca550795 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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;
  };
}