mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
qxmpp: 1.15.1 -> 1.16.1 (#538732)
This commit is contained in:
@@ -5,22 +5,24 @@
|
||||
cmake,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
ctestCheckHook,
|
||||
withGstreamer ? true,
|
||||
gst_all_1,
|
||||
withOmemo ? true,
|
||||
libomemo-c,
|
||||
withEncryption ? true,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "qxmpp";
|
||||
version = "1.15.1";
|
||||
version = "1.16.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "libraries";
|
||||
repo = "qxmpp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PkdzEQKI0NiLvDyI+SEoKainF7UiAU3UVJQjgwYKHuo=";
|
||||
hash = "sha256-JuGSLi0oqlUTbJnjlqd9qo0Dk2yCY1hfryQy0CuEjLo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -46,21 +48,30 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libomemo-c
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DBUILD_EXAMPLES=false"
|
||||
"-DBUILD_TESTS=false"
|
||||
]
|
||||
++ lib.optionals withGstreamer [
|
||||
"-DWITH_GSTREAMER=ON"
|
||||
]
|
||||
++ lib.optionals withOmemo [
|
||||
"-DBUILD_OMEMO=ON"
|
||||
(lib.cmakeBool "BUILD_DOCUMENTATION" false)
|
||||
(lib.cmakeBool "BUILD_EXAMPLES" false)
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
|
||||
(lib.cmakeBool "BUILD_OMEMO" withOmemo)
|
||||
(lib.cmakeBool "WITH_ENCRYPTION" withEncryption)
|
||||
(lib.cmakeBool "WITH_GSTREAMER" withGstreamer)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ ctestCheckHook ];
|
||||
disabledTests = [
|
||||
"tst_QXmppIceConnection"
|
||||
"tst_QXmppTransferManager"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform C++ XMPP client and server library";
|
||||
changelog = "https://invent.kde.org/libraries/qxmpp/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
homepage = "https://invent.kde.org/libraries/qxmpp";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ astro ];
|
||||
maintainers = with lib.maintainers; [
|
||||
astro
|
||||
haansn08
|
||||
];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user