mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
mongodb248: remove
reason: build fails in hydra Do still need this and want to maintain this @elitak?
This commit is contained in:
parent
7dad10d2ef
commit
382afe8c62
@ -1,45 +0,0 @@
|
||||
# This derivation was resurrected from 4c8ec5e12e187347fd97b1a1a9a43eb19e009ed0
|
||||
# by elitak for use with the Ubiquiti mFi Controller package, which breaks at
|
||||
# runtime on mongodb3+ and jre8+. We will need to pull in sufficiently old
|
||||
# versions of boost and v8 to build this, as well.
|
||||
{ stdenv, fetchurl, scons, boost155, v8_3_14, gperftools, pcre-cpp, snappy }:
|
||||
with stdenv.lib;
|
||||
let
|
||||
version = "2.4.8";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mongodb-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz";
|
||||
sha256 = "1p6gnharypglfp39halp72fig96fqjhakyy7m76a1prxwpjkqw7x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ scons boost155 v8_3_14 gperftools pcre-cpp snappy ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace SConstruct \
|
||||
--replace "Environment( BUILD_DIR" "Environment( ENV = os.environ, BUILD_DIR" \
|
||||
--replace 'CCFLAGS=["-Werror", "-pipe"]' 'CCFLAGS=["-pipe"]'
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-unused-local-typedefs";
|
||||
|
||||
buildPhase = ''
|
||||
export SCONSFLAGS="-j$NIX_BUILD_CORES"
|
||||
scons all --use-system-all
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
scons install --use-system-all --full --prefix=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A scalable, high-performance, open source NoSQL database";
|
||||
homepage = http://www.mongodb.org;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ bluescreen303 elitak ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -11479,8 +11479,6 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };
|
||||
|
||||
percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix { };
|
||||
percona-server = percona-server56;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user