2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, libxml2, pidgin, pkg-config, fetchFromGitHub } :
|
2017-04-18 17:24:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pidgin-carbons";
|
2021-01-22 19:21:13 +00:00
|
|
|
version = "0.2.3";
|
2017-04-18 17:24:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gkdr";
|
|
|
|
repo = "carbons";
|
|
|
|
rev = "v${version}";
|
2021-01-22 19:21:13 +00:00
|
|
|
sha256 = "sha256-qiyIvmJbRmCrAi/93UxDVtO76nSdtzUVfT/sZGxxAh8=";
|
2017-04-18 17:24:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ libxml2 pidgin ];
|
2017-04-18 17:24:55 +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/gkdr/carbons";
|
2017-04-18 17:24:55 +01:00
|
|
|
description = "XEP-0280: Message Carbons plugin for libpurple";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2020-04-17 01:22:51 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-04-18 17:24:55 +01:00
|
|
|
};
|
|
|
|
}
|