2019-11-17 17:15:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, pidgin, glib, json-glib, nss, nspr
|
|
|
|
, libsecret
|
|
|
|
} :
|
2015-08-10 13:23:26 +10:00
|
|
|
|
2019-11-17 17:15:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pidgin-opensteamworks";
|
2019-11-17 17:15:15 +00:00
|
|
|
version = "1.7";
|
2015-08-10 13:23:26 +10:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2015-08-28 21:33:15 +10:00
|
|
|
owner = "EionRobb";
|
2015-08-10 13:23:26 +10:00
|
|
|
repo = "pidgin-opensteamworks";
|
2019-11-17 17:15:15 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0zxd45g9ycw5kmm4i0800jnqg1ms2gbqcld6gkyv6n3ac1wxizpj";
|
2015-08-10 13:23:26 +10:00
|
|
|
};
|
|
|
|
|
2019-11-17 17:15:15 +00:00
|
|
|
sourceRoot = "source/steam-mobile";
|
|
|
|
|
2018-10-09 20:58:51 +11:00
|
|
|
installFlags = [
|
2018-12-21 22:17:57 +01:00
|
|
|
"PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2"
|
|
|
|
"DATA_ROOT_DIR_PURPLE=${placeholder "out"}/share"
|
2018-10-09 20:58:51 +11:00
|
|
|
];
|
2015-08-10 13:23:26 +10:00
|
|
|
|
2019-11-17 17:15:15 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
pidgin glib json-glib nss nspr libsecret
|
|
|
|
];
|
2015-08-10 13:23:26 +10:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-22 13:50:04 -05:00
|
|
|
homepage = https://github.com/EionRobb/pidgin-opensteamworks;
|
2015-08-10 13:23:26 +10:00
|
|
|
description = "Plugin for Pidgin 2.x which implements Steam Friends/Steam IM compatibility";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2016-02-10 14:59:36 +01:00
|
|
|
maintainers = with maintainers; [ arobyn ];
|
2015-08-10 13:23:26 +10:00
|
|
|
};
|
|
|
|
}
|