mongodb 2.4.5
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
6d3329dc31
commit
0c3b84c850
|
@ -1,25 +1,15 @@
|
|||
{ stdenv, fetchurl, scons, boost, v8, gperftools, pcre, snappy }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let installerPatch = fetchurl {
|
||||
url = "https://jira.mongodb.org/secure/attachment/18160/SConscript.client.patch";
|
||||
sha256 = "0n60fh2r8i7m6g113k0iw4adc8jv2by4ahrd780kxg47kzfgw06a";
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mongodb-2.4.3";
|
||||
let version = "2.4.5"; in stdenv.mkDerivation rec {
|
||||
name = "mongodb-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://downloads.mongodb.org/src/mongodb-src-r2.4.3.tar.gz;
|
||||
sha256 = "1k653xmwphdk88z2byz5fglr8xcsm8nw13prls1rx16qnc6h1pb1";
|
||||
url = "http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz";
|
||||
sha256 = "01c7lb3jdr51gy7459vg5rg002xxg0mj79vlhy54n50kr31cnxmm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ scons boost v8 gperftools pcre snappy ];
|
||||
|
||||
patches = [ installerPatch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace SConstruct \
|
||||
--replace "Environment( BUILD_DIR" "Environment( ENV = os.environ, BUILD_DIR" \
|
||||
|
|
Loading…
Reference in New Issue