diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 3d7e2be1553e..f73312db99e7 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -65,6 +65,7 @@ chattered = "Phil Scott "; christopherpoole = "Christopher Mark Poole "; coconnor = "Corey O'Connor "; + codsl = "codsl "; codyopel = "Cody Opel "; copumpkin = "Dan Peebles "; coroa = "Jonas Hörsch "; diff --git a/pkgs/applications/networking/instant-messengers/ricochet/default.nix b/pkgs/applications/networking/instant-messengers/ricochet/default.nix new file mode 100644 index 000000000000..89487e5bf27e --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/ricochet/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c2189d899e3..3af09600c767 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; }; diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index 3efbc526b628..f363dea9db47 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -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";