nixpkgs/pkgs/applications/misc/robomongo/default.nix
Thomas Tuegel 3dc7849ab9 robomongo: fix build with openssl-1.0.1m
(cherry picked from commit 35c0e0a768692ffe241e874cdac6b771e5e7dcbf)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-03-26 11:42:52 +01:00

29 lines
784 B
Nix

{ 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 # remove outdated bundled CMake file
'';
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
buildInputs = [ cmake boost scons qt5 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 ];
};
}