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

29 lines
789 B
Nix
Raw Normal View History

{ 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 ];
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-03-24 15:31:27 +00:00
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 ];
};
}