34 lines
643 B
Nix
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;
|
||
|
};
|
||
|
}
|