2021-03-19 17:17:44 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-08-12 12:06:08 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, mesonEmulatorHook
|
|
|
|
, ninja
|
2021-03-19 17:17:44 +00:00
|
|
|
, pkg-config
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk-doc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
, glib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libqrtr-glib";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.2.2";
|
2021-03-19 17:17:44 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "mobile-broadband";
|
|
|
|
repo = "libqrtr-glib";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "kHLrOXN6wgBrHqipo2KfAM5YejS0/bp7ziBSpt0s1i0=";
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
depsBuildBuild = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
nativeBuildInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-03-19 17:17:44 +00:00
|
|
|
pkg-config
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_43
|
2022-08-12 12:06:08 +00:00
|
|
|
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
|
|
|
mesonEmulatorHook
|
2021-03-19 17:17:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
gobject-introspection
|
2021-03-19 17:17:44 +00:00
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib";
|
|
|
|
description = "Qualcomm IPC Router protocol helper library";
|
|
|
|
maintainers = teams.freedesktop.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
};
|
|
|
|
}
|