Unverified Commit af4a10cd authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

libacars: init at 2.2.0 (#402348)

parents e2f8b6bf 62a10d9c
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitHub,
  cmake,
}:
stdenv.mkDerivation rec {
  pname = "libacars";
  version = "2.2.0";

  src = fetchFromGitHub {
    owner = "szpajder";
    repo = "libacars";
    tag = "v${version}";
    hash = "sha256-2n1tuKti8Zn5UzQHmRdvW5Q+x4CXS9QuPHFQ+DFriiE=";
  };

  nativeBuildInputs = [
    cmake
  ];

  cmakeFlags = [
    "-DCMAKE_INSTALL_LIBDIR=lib"
  ];

  meta = with lib; {
    homepage = "https://github.com/szpajder/libacars";
    description = "Aircraft Communications Addressing and Reporting System (ACARS) message decoder";
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = [ maintainers.mafo ];
  };
}