blob: 8128d0af7b7f6c1f41fb19b47f3b125ececccec3 (
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
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, pidgin, json-glib }:
stdenv.mkDerivation {
pname = "purple-discord";
version = "unstable-2018-04-10";
src = fetchFromGitHub {
owner = "EionRobb";
repo = "purple-discord";
rev = "9a97886d15a1f028de54b5e6fc54e784531063b0";
sha256 = "0dc344zh1v4yh9c8javcw5ylzwc1wpx0ih8bww8p8cjmhr8kcl32";
};
nativeBuildInputs = [ pkgconfig ];
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/purple-discord";
description = "Discord plugin for Pidgin";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ sna ];
};
}
|