git.iko.soy/typeable/nixpkgs
on master help sign in
mongodb248: remove

reason: build fails in hydra Do still need this and want to maintain this @elitak?

commit382afe8c62221851486cbfb0f2f3e596a3883367 authorJörg Thalheim <joerg@thalheim.io> dateThu 7 Sep 2017, 10:02 (9 years ago) parent7dad10d
2 files changed−47
pkgs/servers/nosql/mongodb/2.4.8.nix−45 pkgs/top-level/all-packages.nix−2
pkgs/servers/nosql/mongodb/2.4.8.nixdeleted−45
@@ -1,45 +0,0 @@
1−# This derivation was resurrected from 4c8ec5e12e187347fd97b1a1a9a43eb19e009ed0
2−# by elitak for use with the Ubiquiti mFi Controller package, which breaks at
3−# runtime on mongodb3+ and jre8+. We will need to pull in sufficiently old
4−# versions of boost and v8 to build this, as well.
5−{ stdenv, fetchurl, scons, boost155, v8_3_14, gperftools, pcre-cpp, snappy }:
6−with stdenv.lib;
7−let
8− version = "2.4.8";
9−in
10−stdenv.mkDerivation rec {
11− name = "mongodb-${version}";
12−
13− src = fetchurl {
14− url = "http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz";
15− sha256 = "1p6gnharypglfp39halp72fig96fqjhakyy7m76a1prxwpjkqw7x";
16− };
17−
18− nativeBuildInputs = [ scons boost155 v8_3_14 gperftools pcre-cpp snappy ];
19−
20− postPatch = ''
21− substituteInPlace SConstruct \
22− --replace "Environment( BUILD_DIR" "Environment( ENV = os.environ, BUILD_DIR" \
23− --replace 'CCFLAGS=["-Werror", "-pipe"]' 'CCFLAGS=["-pipe"]'
24− '';
25−
26− NIX_CFLAGS_COMPILE = "-Wno-unused-local-typedefs";
27−
28− buildPhase = ''
29− export SCONSFLAGS="-j$NIX_BUILD_CORES"
30− scons all --use-system-all
31− '';
32−
33− installPhase = ''
34− mkdir -p $out/lib
35− scons install --use-system-all --full --prefix=$out
36− '';
37−
38− meta = {
39− description = "A scalable, high-performance, open source NoSQL database";
40− homepage = http://www.mongodb.org;
41− license = licenses.agpl3;
42− maintainers = with maintainers; [ bluescreen303 elitak ];
43− platforms = platforms.linux;
44− };
45−}
pkgs/top-level/all-packages.nix−2
@@ -11479,8 +11479,6 @@ with pkgs;
1147911479 inherit (darwin.apple_sdk.frameworks) Security;
1148011480 };
1148111481
11482− mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };
11483−
1148411482 percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix { };
1148511483 percona-server = percona-server56;
1148611484