summary refs log tree commit diff
path: root/pkgs/applications/misc/robomongo/default.nix
blob: 26c091a7aa9696631f695af6d76ece9f6e213b18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, qt5, openssl, boost, cmake, scons, python, pcre, bzip2 }:

stdenv.mkDerivation {
  name = "robomongo-0.8.4";

  src = fetchurl {
    url = https://github.com/paralect/robomongo/archive/v0.8.4.tar.gz;
    sha256 = "199fb08701wrw3ky7gcqyvb3z4027qjcqdnzrx5y7yi3rb4gvkzc";
  };

  patches = [ ./robomongo.patch ];

  postPatch = ''
    rm ./cmake/FindOpenSSL.cmake
  '';

  NIX_CFLAGS_COMPILE = "-fno-stack-protector";

  buildInputs = [ cmake boost scons qt5.base openssl python pcre bzip2 ];

  meta = {
    homepage = "http://robomongo.org/";
    description = "Query GUI for mongodb";
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl3;
    maintainers = [ stdenv.lib.maintainers.amorsillo ];
  };
}