summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-opensteamworks/default.nix
blob: 6d527f3a7e46f07a25cbb7d371e09cbfeacce8c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchFromGitHub, pkgconfig, pidgin, glib, json-glib, nss, nspr
, libsecret
} :

stdenv.mkDerivation rec {
  pname = "pidgin-opensteamworks";
  version = "1.7";

  src = fetchFromGitHub {
    owner = "EionRobb";
    repo = "pidgin-opensteamworks";
    rev = version;
    sha256 = "0zxd45g9ycw5kmm4i0800jnqg1ms2gbqcld6gkyv6n3ac1wxizpj";
  };

  sourceRoot = "source/steam-mobile";

  installFlags = [
    "PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2"
    "DATA_ROOT_DIR_PURPLE=${placeholder "out"}/share"
  ];

  nativeBuildInputs = [
    pkgconfig
  ];
  buildInputs = [
    pidgin glib json-glib nss nspr libsecret
  ];

  meta = with stdenv.lib; {
    homepage = https://github.com/EionRobb/pidgin-opensteamworks;
    description = "Plugin for Pidgin 2.x which implements Steam Friends/Steam IM compatibility";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ arobyn ];
  };
}