diff --git a/pkgs/development/libraries/lcm/default.nix b/pkgs/development/libraries/lcm/default.nix new file mode 100644 index 000000000000..64d22f4c7dcd --- /dev/null +++ b/pkgs/development/libraries/lcm/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchFromGitHub, cmake, glib, pkg-config }: + +stdenv.mkDerivation rec { + pname = "lcm"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "lcm-proj"; + repo = "lcm"; + rev = "v${version}"; + hash = "sha256-ujz52m7JuE5DYGM9QHLwVWVVBcny4w05J6Eu6DI2HBI="; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d462e5bec3c..28b2fa3f43f8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18356,6 +18356,8 @@ with pkgs; LASzip = callPackage ../development/libraries/LASzip { }; LASzip2 = callPackage ../development/libraries/LASzip/LASzip2.nix { }; + lcm = callPackage ../development/libraries/lcm {}; + lcms = lcms1; lcms1 = callPackage ../development/libraries/lcms { };