nixpkgs/pkgs/applications/misc/robomongo/default.nix

29 lines
790 B
Nix
Raw Normal View History

2015-12-20 02:40:12 +00:00
{ stdenv, fetchurl, qtbase, 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 ];
2015-03-24 15:31:27 +00:00
postPatch = ''
rm ./cmake/FindOpenSSL.cmake # remove outdated bundled CMake file
2015-03-24 15:31:27 +00:00
'';
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
2015-12-20 02:40:12 +00:00
buildInputs = [ cmake boost scons qtbase 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 ];
};
}