depot/third_party/nixpkgs/pkgs/development/libraries/libqrtr-glib/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

58 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitLab
, meson
, mesonEmulatorHook
, ninja
, pkg-config
, gobject-introspection
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
, glib
}:
stdenv.mkDerivation rec {
pname = "libqrtr-glib";
version = "1.2.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mobile-broadband";
repo = "libqrtr-glib";
rev = version;
sha256 = "kHLrOXN6wgBrHqipo2KfAM5YejS0/bp7ziBSpt0s1i0=";
};
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
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;
};
}