nixos-image-thinkpad-t14s-gen6/pkgs/qrtr.nix
2024-10-18 14:51:48 +00:00

34 lines
643 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
meson,
cmake,
pkg-config,
systemd,
ninja,
}:
stdenv.mkDerivation {
pname = "qrtr";
version = "2024-05-21";
src = fetchFromGitHub {
owner = "linux-msm";
repo = "qrtr";
rev = "daf7f4cc326a5036dcce2bd7deaf2c32841b0336";
hash = "sha256-OGx5fxxtrNN9EJJxxH4MTDRFGsyu4LNo+ks46zbJqF0=";
};
nativeBuildInputs = [ meson cmake pkg-config systemd ninja ];
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "QMI IDL compiler";
homepage = "https://github.com/linux-msm/qrtr";
license = licenses.bsd3;
platforms = platforms.aarch64;
};
}