Commit Graph

55 Commits

Author SHA1 Message Date
qubitnano
864c720e58 mongodb: fix building with python312 2024-09-01 21:43:26 -04:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Peder Bergebakken Sundt
d4b7361c84
Merge pull request #311458 from TomaSajt/servers-toplevel-with
Remove usage of top-level `with lib;` from `pkgs/servers`
2024-08-08 22:50:56 +02:00
Martin Weinelt
a9d2968bc7
mongodb: fix stale scons override 2024-07-25 03:11:29 +02:00
qubitnano
6c879c9e5e mongodb: pin scons to python311
Building mongodb with python312 fails:

ModuleNotFoundError: No module named 'imp':
  File "/build/source/SConstruct", line 46:
    from buildscripts import moduleconfig
  File "/build/source/buildscripts/moduleconfig.py", line 30:
    import imp
2024-07-09 18:45:02 -04:00
TomaSajt
9f848675ce
mongodb: remove top-level with lib; 2024-06-30 12:56:02 +02:00
Weijia Wang
b930cdc5c5
Merge pull request #299603 from qubitnano/origin-mongo-avx
mongodb: add avxSupport override
2024-06-10 18:29:12 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
qubitnano
2e9c2a5c3c mongodb: add avxSupport override
Starting with mongodb 5, the default build produces binaries that throw a trap
invalid opcode on machines without the avx cpu flag. While most modern cpus
support this flag, some recent lower end Intel CPUs (N5105) do not. Allow
mongodb to build without such flags.
2024-06-04 18:33:39 -04:00
Isa
fbf40c2ade mongodb: use github instead of broken mirror 2024-05-07 19:43:04 +02:00
Weijia Wang
11f3e0c15d mongodb-4_4: drop 2024-04-12 12:30:40 +02:00
Will Fancher
cb52c9bb10 mongodb: Fix darwin 2024-03-17 22:47:33 -04:00
Will Fancher
9bfa405ab4 mongodb: Fix cross compilation 2024-02-10 13:48:42 -05:00
Will Fancher
f6086df42f mongodb: Eliminate 'variants' redundancy. 2024-02-10 13:28:36 -05:00
Will Fancher
f29d66a77f mongodb: Use scons 4 2024-02-10 13:28:36 -05:00
Morgan Helton
0cfd256a81 mongodb: mask Linux-only buildInputs on other platforms 2024-01-28 14:05:43 -06:00
Hugh O'Brien
ba5b895db5
mongodb: add new dependencies for bundled enterprise modules (#281440) 2024-01-20 23:59:13 +01:00
Anderson Torres
d50b415332 mongodb: update scons references 2023-11-03 09:02:50 -03:00
Anderson Torres
a9d73dea16 treewide: remove cstrahan from meta.maintainers - part 2
19 files modified with this removal
2023-10-04 22:20:58 -03:00
Florian Klink
9ef03257bb mongodb: fix build
Without this being set, the build fails, because it can't find crypto.h
during configure phase.
2023-08-02 16:17:45 +02:00
Adrian Pistol
bae4239b72 mongodb: Stop overriding -march and -mtune on <5.0. 2023-03-27 15:52:10 +02:00
Adrian Pistol
982e914e57 mongodb: Mark anything older than 6.0 broken on aarch64-darwin 2023-03-19 22:42:33 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
OPNA2608
c9b4c7dccd treewide: Rename libyamlcpp* to yaml-cpp* 2023-01-31 16:22:54 +01:00
Thiago Kenji Okada
e0487171e3 sconsPackages.scons_3_1_2: default to python3 2023-01-07 13:15:11 +00:00
Weijia Wang
7afa7286f7 mongodb-4_0: drop 2023-01-05 21:21:33 +01:00
Sandro
899c3c586c
Merge pull request #197499 from kfiz/Update-mongoDB-v6-darwin 2022-12-24 02:25:35 +01:00
Robert Schütz
b6062cc56e mongodb: don't depend on pyyaml 2022-12-03 22:50:12 -08:00
Robert Schütz
23f36e463e mongodb: use cheetah3 2022-12-03 18:57:20 -08:00
Doro Rose
9a99aff2f3 mongoDB: Enable 6.0 update for darwin 2022-10-24 08:59:13 +02:00
pacien
9201d1163e mongodb-6_0: restrict platform to linux 2022-09-12 12:54:41 +02:00
pacien
9f39226978 mongodb-6_0: init at 6.0.1
GitHub: closes #190297
2022-09-12 12:54:40 +02:00
pacien
f2de05f59b mongodb: add note about mongosh
The `mongo` shell has been deprecated.
The official replacement is `mongosh` from pkgs.mongosh.
2022-09-12 12:54:40 +02:00
pacien
f016bedd7b mongodb: wrap overly long lines 2022-09-12 12:54:38 +02:00
Et7f3
e7d158d4af mongodb-4_4: fic-gcc11-optionnal
gcc 11 doesn't add <optional> by mistake.
2022-07-22 01:32:59 +02:00
Et7f3
a0f42fb899 mongodb: drem doesn't exist after 3.6 2022-07-20 02:30:22 +02:00
Doro Rose
462b1e4473 mongodb: add 4.4 2022-04-09 09:41:55 +02:00
Andreas Rammhold
cd20497c66
mongodb: pick python version from scons
The python modules that we to the enviroment should always come from the
same python version as scons as otherwise they can't be loaded.

This unbreaks the build of mongodb 4.2 which pinned python to 3.8 while
our python attribute moved on to 3.9 which is what scons uses now.
2021-08-14 13:42:01 +02:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Vladimír Čunát
2b7c0dcdaa
Merge branch 'staging-next'
Rebuild on Hydra seems OK-ish.
mongodb.nix needed some conflict resolution (scons versions);
all four versions seem to build fine.
2020-07-25 16:18:40 +02:00
Jaka Hudoklin
fea9351d81
Merge pull request #92719 from pjjw/update/mongodb-42
mongodb: 4.0.12 -> 4.2.8
2020-07-24 20:15:29 +02:00
Peter Woodman
dbd0f3e957
mongodb: 4.0.12 -> 4.2.8
Not strictly an upgrade, but adds a new mongodb-4_2 target with the
current mongodb from that branch.

Use matching client and server versions in mongodb tests- tests were
using the mongo 3.4 client to connect, and this finally doesn't work
with server 4.2.

Per reviewer suggestion, adding myself as cheetah3 maintainer.

Additionally, reestore comments describing the purpose of the
build-dependencies patch
2020-07-24 11:44:16 -04:00
Vladimír Čunát
7a5c6fee0f
Merge branch 'master' into staging-next
Some rebuilds, e.g. all of haskell.
Hydra nixpkgs: ?compare=1601713
2020-07-22 08:37:19 +02:00
Justin Humm
6f7af76904
mongodb: use pname instead of name 2020-07-20 16:48:50 +02:00
Michael Weiss
5b14758d31
Merge pull request #92920 from primeos/scons
scons: 3.1.2 -> 4.0.0
2020-07-18 13:36:29 +02:00
Michael Weiss
595a36d846
scons.py2: Replace with sconsPackages.scons_3_1_2
Required since SCons 4.0.0 doesn't support Python 2.7 anymore.
2020-07-18 10:48:20 +02:00
Vladimír Čunát
44391a72b2
mongodb: add basic check
For example, it detected the issue fixed in the parent commit
(tested on aarch64).
2020-07-11 11:07:18 +02:00
Maximilian Bosch
25b9bca759
mongodb_3_4: fix license
As noted in #83433, the 3.4 branch of `mongodb` is still licensed under
AGPL[1].

[1] https://github.com/mongodb/mongo/blob/r3.4.24/README
2020-04-21 18:05:15 +02:00
Frederik Rietdijk
a36be028f5 Merge staging-next into staging 2020-03-28 21:15:15 +01:00
Maximilian Bosch
80e6da7bd3
mongodb: builds on aarch64 as well 2020-03-26 14:02:49 +01:00