depot/third_party/nixpkgs/pkgs/development/tools/mongosh/default.nix

22 lines
507 B
Nix
Raw Normal View History

{ pkgs, stdenv, lib, testers, mongosh }:
let
nodePackages = import ./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";
};
}