about summary refs log tree commit diff
path: root/pkgs/development/tools/mongosh/default.nix
blob: d251a3c3805ffe9bab89df332a77f7335f7d8432 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ pkgs, stdenv, lib, testers, mongosh }:

let
  nodePackages = import ./gen/composition.nix {
    inherit pkgs;
    inherit (stdenv.hostPlatform) system;
  };
in
nodePackages.mongosh.override {
  passthru.tests.version = testers.testVersion {
    package = mongosh;
  };

  meta = with lib; {
    homepage = "https://www.mongodb.com/try/download/shell";
    description = "The MongoDB Shell";
    maintainers = with maintainers; [ aaronjheng ];
    license = licenses.asl20;
    mainProgram = "mongosh";
  };
}