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