1{ pkgs, stdenv, lib, testers, mongosh }:
2
3let
4 nodePackages = import ./gen/composition.nix {
5 inherit pkgs;
6 inherit (stdenv.hostPlatform) system;
7 };
8in
9nodePackages.mongosh.override {
10 passthru.tests.version = testers.testVersion {
11 package = mongosh;
12 };
13
14 meta = with lib; {
15 homepage = "https://www.mongodb.com/try/download/shell";
16 description = "The MongoDB Shell";
17 maintainers = with maintainers; [ aaronjheng ];
18 license = licenses.asl20;
19 mainProgram = "mongosh";
20 };
21}