3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-vk-plugin/default.nix

32 lines
827 B
Nix
Raw Normal View History

2021-01-15 05:42:41 +00:00
{ lib, stdenv, fetchhg, pidgin, cmake, libxml2 } :
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;
src = fetchhg {
url = "https://bitbucket.org/olegoandreev/purple-vk-plugin";
2019-09-09 00:38:31 +01:00
rev = version;
sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ pidgin 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";
2021-01-15 05:42:41 +00:00
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
};
}