mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
mongodb: wrap overly long lines
This commit is contained in:
parent
b1abaab2d1
commit
f016bedd7b
@ -1,5 +1,23 @@
|
||||
{ lib, stdenv, fetchurl, sconsPackages, boost, gperftools, pcre-cpp, snappy, zlib, libyamlcpp
|
||||
, sasl, openssl, libpcap, python3, curl, Security, CoreFoundation, cctools, xz }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, sconsPackages
|
||||
, boost
|
||||
, gperftools
|
||||
, pcre-cpp
|
||||
, snappy
|
||||
, zlib
|
||||
, libyamlcpp
|
||||
, sasl
|
||||
, openssl
|
||||
, libpcap
|
||||
, python3
|
||||
, curl
|
||||
, Security
|
||||
, CoreFoundation
|
||||
, cctools
|
||||
, xz
|
||||
}:
|
||||
|
||||
# Note:
|
||||
# The command line tools are written in Go as part of a different package (mongodb-tools)
|
||||
@ -11,17 +29,33 @@ with lib;
|
||||
}:
|
||||
|
||||
let
|
||||
variants = if versionAtLeast version "4.2"
|
||||
then rec { python = scons.python.withPackages (ps: with ps; [ pyyaml cheetah3 psutil setuptools ]);
|
||||
scons = sconsPackages.scons_3_1_2.override { python = python3; }; # 4.2 < mongodb <= 5.0.x needs scons 3.x built with python3
|
||||
mozjsVersion = "60";
|
||||
mozjsReplace = "defined(HAVE___SINCOS)";
|
||||
}
|
||||
else rec { python = scons.python.withPackages (ps: with ps; [ pyyaml typing cheetah ]);
|
||||
scons = sconsPackages.scons_3_1_2;
|
||||
mozjsVersion = "45";
|
||||
mozjsReplace = "defined(HAVE_SINCOS)";
|
||||
};
|
||||
variants =
|
||||
if versionAtLeast version "4.2" then rec {
|
||||
python = scons.python.withPackages (ps: with ps; [
|
||||
pyyaml
|
||||
cheetah3
|
||||
psutil
|
||||
setuptools
|
||||
]);
|
||||
|
||||
# 4.2 < mongodb <= 5.0.x needs scons 3.x built with python3
|
||||
scons = sconsPackages.scons_3_1_2.override { python = python3; };
|
||||
|
||||
mozjsVersion = "60";
|
||||
mozjsReplace = "defined(HAVE___SINCOS)";
|
||||
|
||||
} else rec {
|
||||
python = scons.python.withPackages (ps: with ps; [
|
||||
pyyaml
|
||||
typing
|
||||
cheetah
|
||||
]);
|
||||
|
||||
scons = sconsPackages.scons_3_1_2;
|
||||
mozjsVersion = "45";
|
||||
mozjsReplace = "defined(HAVE_SINCOS)";
|
||||
};
|
||||
|
||||
system-libraries = [
|
||||
"boost"
|
||||
"pcre"
|
||||
|
Loading…
Reference in New Issue
Block a user