purple-vk-plugin: init at 40ddb6d (close #8996)

@vcunat simplified preConfigure.
This commit is contained in:
Artjom Vejsel 2015-07-26 10:29:56 +03:00 committed by Vladimír Čunát
parent 1a4bb0ef9b
commit 9ca034f277
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchhg, pidgin, cmake, libxml2 } :
let
version = "40ddb6d";
in
stdenv.mkDerivation rec {
name = "purple-vk-plugin-${version}";
src = fetchhg {
url = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
rev = "${version}";
sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc";
};
buildInputs = [ pidgin cmake libxml2 ];
preConfigure = ''
sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt
'';
cmakeFlags = "-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=1";
meta = {
homepage = https://bitbucket.org/olegoandreev/purple-vk-plugin;
description = "Vk (russian social network) plugin for Pidgin / libpurple";
license = stdenv.lib.licenses.gpl3;
};
}

View File

@ -12344,6 +12344,8 @@ let
purple-plugin-pack = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-plugin-pack { };
purple-vk-plugin = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-vk-plugin { };
toxprpl = callPackage ../applications/networking/instant-messengers/pidgin-plugins/tox-prpl { };
pithos = callPackage ../applications/audio/pithos {