2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, pidgin, glib, libxml2 }:
|
2018-05-21 21:08:55 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-05-22 08:14:19 +01:00
|
|
|
name = "purple-xmpp-upload-2017-12-31";
|
2018-05-21 21:08:55 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/Junker/purple-xmpp-http-upload";
|
2018-05-22 08:14:19 +01:00
|
|
|
rev = "178096cbfc9df165c2dc1677666439969d212b37";
|
2018-05-21 21:08:55 +01:00
|
|
|
sha256 = "12l9rqlgb4i50xxrfnvwz9sqfk0d3c0m6l09mnvfixqi8illyvlp";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pidgin glib libxml2 ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm644 -t $out/lib/purple-2 jabber_http_file_upload.so
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Junker/purple-xmpp-http-upload";
|
2018-05-21 21:08:55 +01:00
|
|
|
description = "HTTP File Upload plugin for libpurple (XMPP Protocol XEP-0363)";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ emmanuelrosa ];
|
|
|
|
};
|
|
|
|
}
|