at 23.11-beta 32 lines 678 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, glib, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "lcm"; 5 version = "1.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "lcm-proj"; 9 repo = "lcm"; 10 rev = "v${version}"; 11 hash = "sha256-IFHoJl5OtnUb+w3gLG5f578yAektjgrY9Uj2eUVoIrc="; 12 }; 13 14 outputs = [ "out" "dev" "man" ]; 15 16 nativeBuildInputs = [ 17 pkg-config 18 cmake 19 ]; 20 21 buildInputs = [ 22 glib 23 ]; 24 25 meta = with lib; { 26 description = "Lightweight Communications and Marshalling (LCM)"; 27 homepage = "https://github.com/lcm-proj/lcm"; 28 license = licenses.lgpl21; 29 maintainers = with maintainers; [ kjeremy ]; 30 platforms = lib.platforms.unix; 31 }; 32}