qxmpp: init at 1.4.0
This commit is contained in:
parent
8a362be5fe
commit
afb3f23075
2 changed files with 48 additions and 0 deletions
46
pkgs/development/libraries/qxmpp/default.nix
Normal file
46
pkgs/development/libraries/qxmpp/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, withGstreamer ? true
|
||||
, gst_all_1
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "qxmpp";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qxmpp-project";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1knpq1jkwk0lxdwczbmzf7qrjvlxba9yr40nbq9s5nqkcx6q1c3i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
] ++ lib.optionals withGstreamer [
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = lib.optionals withGstreamer (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
]);
|
||||
cmakeFlags = [
|
||||
"-DBUILD_EXAMPLES=false"
|
||||
"-DBUILD_TESTS=false"
|
||||
] ++ lib.optionals withGstreamer [
|
||||
"-DWITH_GSTREAMER=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform C++ XMPP client and server library";
|
||||
homepage = "https://github.com/qxmpp-project/qxmpp";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ astro ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
|
@ -15270,6 +15270,8 @@ in
|
|||
|
||||
qtstyleplugin-kvantum-qt4 = callPackage ../development/libraries/qtstyleplugin-kvantum-qt4 { };
|
||||
|
||||
qxmpp = libsForQt5.callPackage ../development/libraries/qxmpp {};
|
||||
|
||||
gnet = callPackage ../development/libraries/gnet { };
|
||||
|
||||
gnu-config = callPackage ../development/libraries/gnu-config { };
|
||||
|
|
Loading…
Reference in a new issue