nixpkgs/pkgs/development/tools/mongosh/default.nix
2022-06-03 00:37:46 +00:00

22 lines
511 B
Nix

{ 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";
};
}