Merge pull request #12407 from jgillich/chats

xmpp-client, ricochet
This commit is contained in:
Franz Pletz 2016-01-18 15:15:59 +01:00
commit 501f9166b1
4 changed files with 80 additions and 0 deletions

View File

@ -65,6 +65,7 @@
chattered = "Phil Scott <me@philscotted.com>";
christopherpoole = "Christopher Mark Poole <mail@christopherpoole.net>";
coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
codsl = "codsl <codsl@riseup.net>";
codyopel = "Cody Opel <codyopel@gmail.com>";
copumpkin = "Dan Peebles <pumpkingod@gmail.com>";
coroa = "Jonas Hörsch <jonas@chaoflow.net>";

View File

@ -0,0 +1,58 @@
{ stdenv, fetchurl, pkgconfig, makeDesktopItem, unzip
, qtbase, qttools, makeQtWrapper, qtmultimedia, qtquick1, qtquickcontrols
, openssl, protobuf
}:
stdenv.mkDerivation rec {
name = "ricochet-${version}";
version = "1.1.1";
src = fetchurl {
url = "https://github.com/ricochet-im/ricochet/archive/v${version}.tar.gz";
sha256 = "0y79igzgl9xn00981zcyxdlks7vnqxhb4rq3x8gwxm0yr98p39ms";
};
desktopItem = makeDesktopItem {
name = "ricochet";
exec = "ricochet";
icon = "ricochet";
desktopName = "Ricochet";
genericName = "Ricochet";
comment = meta.description;
categories = "Office;Email;";
};
buildInputs = [
qtbase qttools qtmultimedia qtquick1 qtquickcontrols
openssl protobuf
];
nativeBuildInputs = [ pkgconfig makeQtWrapper ];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags openssl)"
'';
configureScript = "qmake";
dontAddPrefix = true;
configureFlags = [ "PREFIX=$(out)" "DEFINES+=RICOCHET_NO_PORTABLE" ];
installPhase = ''
mkdir -p $out/bin
cp ricochet $out/bin
wrapQtProgram $out/bin/ricochet
mkdir -p $out/share/applications
cp $desktopItem/share/applications"/"* $out/share/applications
mkdir -p $out/share/pixmaps
cp icons/ricochet.png $out/share/pixmaps/ricochet.png
'';
meta = with stdenv.lib; {
description = "Anonymous peer-to-peer instant messaging";
homepage = "https://ricochet.im";
license = licenses.bsd3;
maintainers = [ maintainers.codsl maintainers.jgillich ];
};
}

View File

@ -13034,6 +13034,8 @@ let
RhythmDelay = callPackage ../applications/audio/RhythmDelay { };
ricochet = qt5.callPackage ../applications/networking/instant-messengers/ricochet { };
rkt = callPackage ../applications/virtualization/rkt { };
rofi = callPackage ../applications/misc/rofi {
@ -13861,6 +13863,8 @@ let
GConf2 = gnome2.GConf;
};
xmpp-client = go15Packages.xmpp-client.bin // { outputs = [ "bin" ]; };
libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { };
xpra = callPackage ../tools/X11/xpra { inherit (texFunctions) fontsConf; };

View File

@ -3361,6 +3361,23 @@ let
sha256 = "0gljdfxqc94yb1kpqqrm5p94ph9dsxrzcixhdj6m92cwwa7z7p99";
};
xmpp-client = buildFromGitHub {
rev = "525bd26cf5f56ec5aee99464714fd1d019c119ff";
date = "2016-01-10";
owner = "agl";
repo = "xmpp-client";
sha256 = "0a1r08zs723ikcskmn6ylkdi3frcd0i0lkx30i9q39ilf734v253";
disabled = isGo14;
buildInputs = [ crypto net ];
meta = with stdenv.lib; {
description = "An XMPP client with OTR support";
homepage = https://github.com/agl/xmpp-client;
license = licenses.bsd3;
maintainers = with maintainers; [ codsl ];
};
};
yaml-v1 = buildGoPackage rec {
name = "yaml-v1-${version}";
version = "git-2015-05-01";