3dadae4cd2
Adds XEP-0384: OMEMO Encryption for libpurple
32 lines
829 B
Nix
32 lines
829 B
Nix
{ stdenv, fetchFromGitHub, cmake, pidgin, minixml, libxml2, sqlite, libgcrypt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "purple-lurch-${version}";
|
|
version = "0.6.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gkdr";
|
|
repo = "lurch";
|
|
rev = "v${version}";
|
|
sha256 = "029jjqinsfhpv0zgji3sv1cyk54fn9qp176fwy97d1clf0vflxrz";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ pidgin minixml libxml2 sqlite libgcrypt ];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
installPhase = ''
|
|
install -Dm755 -t $out/lib/purple-2 build/lurch.so
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/gkdr/lurch;
|
|
description = "XEP-0384: OMEMO Encryption for libpurple";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ emmanuelrosa ];
|
|
};
|
|
}
|