2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchhg, pidgin, cmake, libxml2 } :
|
2015-07-26 08:29:56 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "40ddb6d";
|
|
|
|
in
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "purple-vk-plugin";
|
|
|
|
inherit version;
|
2015-07-26 08:29:56 +01:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2015-07-26 08:29:56 +01:00
|
|
|
sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc";
|
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ pidgin libxml2 ];
|
2015-07-26 08:29:56 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=1" ];
|
2015-07-26 08:29:56 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
|
2015-07-26 08:29:56 +01:00
|
|
|
description = "Vk (russian social network) plugin for Pidgin / libpurple";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
platforms = lib.platforms.linux;
|
2015-07-26 08:29:56 +01:00
|
|
|
};
|
|
|
|
}
|