3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-skypeweb/default.nix
2021-01-16 23:49:59 -08:00

32 lines
819 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, pidgin, json-glib }:
stdenv.mkDerivation rec {
pname = "pidgin-skypeweb";
version = "1.7";
src = fetchFromGitHub {
owner = "EionRobb";
repo = "skype4pidgin";
rev = version;
sha256 = "11snyrjhm58gjvdmr5h5ajii3ah4a7c8zw3cavjv9xnnwrpfm5rb";
};
setSourceRoot = ''
sourceRoot=$(echo */skypeweb)
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pidgin json-glib ];
PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2";
PKG_CONFIG_PURPLE_DATADIR = "${placeholder "out"}/share";
meta = with lib; {
homepage = "https://github.com/EionRobb/skype4pidgin";
description = "SkypeWeb plugin for Pidgin";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}