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

37 lines
897 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, pidgin, json-glib }:
2015-10-05 12:39:42 +01:00
stdenv.mkDerivation rec {
name = "pidgin-skypeweb-${version}";
version = "1.2.2";
2015-10-05 12:39:42 +01:00
src = fetchFromGitHub {
owner = "EionRobb";
repo = "skype4pidgin";
rev = "${version}";
sha256 = "1lxpz316jmns6i143v4j6sd6k0a4a54alw08rvwjckf2rig57lj2";
2015-10-05 12:39:42 +01:00
};
setSourceRoot = ''
sourceRoot=$(echo */skypeweb)
'';
2015-10-05 12:39:42 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin json-glib ];
2015-10-05 12:39:42 +01:00
makeFlags = [
"PLUGIN_DIR_PURPLE=/lib/pidgin/"
"DATA_ROOT_DIR_PURPLE=/share"
"DESTDIR=$(out)"
];
postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-skypeweb";
meta = with stdenv.lib; {
homepage = https://github.com/EionRobb/skype4pidgin;
description = "SkypeWeb plugin for Pidgin";
2015-10-05 12:39:42 +01:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}