Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 696 B view raw
1{ 2 stdenv, 3 callPackage, 4 lib, 5 ... 6}: 7 8let 9 pname = "mongodb-compass"; 10 version = "1.46.0"; 11 meta = { 12 description = "GUI for MongoDB"; 13 maintainers = with lib.maintainers; [ 14 bryanasdev000 15 friedow 16 iamanaws 17 ]; 18 homepage = "https://github.com/mongodb-js/compass"; 19 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 20 license = lib.licenses.sspl; 21 platforms = [ 22 "x86_64-linux" 23 "aarch64-darwin" 24 "x86_64-darwin" 25 ]; 26 mainProgram = "mongodb-compass"; 27 }; 28in 29if stdenv.hostPlatform.isDarwin then 30 callPackage ./darwin.nix { inherit pname version meta; } 31else 32 callPackage ./linux.nix { inherit pname version meta; }