Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libqrtr-glib / default.nix
blob9309c48a8c6a753a73ab16b93f6a6d9bb9a8e2b9
1 { lib
2 , stdenv
3 , fetchFromGitLab
4 , meson
5 , mesonEmulatorHook
6 , ninja
7 , pkg-config
8 , gobject-introspection
9 , gtk-doc
10 , docbook-xsl-nons
11 , docbook_xml_dtd_43
12 , glib
15 stdenv.mkDerivation rec {
16   pname = "libqrtr-glib";
17   version = "1.2.2";
19   outputs = [ "out" "dev" "devdoc" ];
21   src = fetchFromGitLab {
22     domain = "gitlab.freedesktop.org";
23     owner = "mobile-broadband";
24     repo = "libqrtr-glib";
25     rev = version;
26     sha256 = "kHLrOXN6wgBrHqipo2KfAM5YejS0/bp7ziBSpt0s1i0=";
27   };
29   strictDeps = true;
31   depsBuildBuild = [
32     pkg-config
33   ];
35   nativeBuildInputs = [
36     meson
37     ninja
38     pkg-config
39     gobject-introspection
40     gtk-doc
41     docbook-xsl-nons
42     docbook_xml_dtd_43
43   ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
44     mesonEmulatorHook
45   ];
47   buildInputs = [
48     glib
49   ];
51   meta = with lib; {
52     homepage = "https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib";
53     description = "Qualcomm IPC Router protocol helper library";
54     maintainers = teams.freedesktop.members;
55     platforms = platforms.linux;
56     license = licenses.lgpl2Plus;
57   };