3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/pidgin-plugins/carbons/default.nix

27 lines
692 B
Nix
Raw Normal View History

{ lib, stdenv, libxml2, pidgin, pkgconfig, fetchFromGitHub } :
stdenv.mkDerivation rec {
pname = "pidgin-carbons";
2020-04-15 07:32:34 +01:00
version = "0.2.2";
src = fetchFromGitHub {
owner = "gkdr";
repo = "carbons";
rev = "v${version}";
2020-04-15 07:32:34 +01:00
sha256 = "1aq9bwgpmbwrigq6ywf0pjkngqcm0qxncygaj1fi57npjhcjs6ln";
};
makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 pidgin ];
meta = with lib; {
homepage = "https://github.com/gkdr/carbons";
description = "XEP-0280: Message Carbons plugin for libpurple";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}