Merge pull request #146193 from bryanasdev000/mongodb-compass

mongodb-compass: 1.25.0 -> 1.29.4
This commit is contained in:
Thiago Kenji Okada 2021-11-16 19:21:24 -03:00 committed by GitHub
commit c69f32ea30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,40 @@
{ lib, stdenv, fetchurl, dpkg
, alsa-lib, at-spi2-atk, at-spi2-core, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
, gnome2, gdk-pixbuf, gtk3, pango, libnotify, libsecret, libuuid, libxcb, nspr, nss, systemd, xorg, wrapGAppsHook }:
{
alsa-lib,
at-spi2-atk,
at-spi2-core,
atk,
cairo,
cups,
curl,
dbus,
dpkg,
expat,
fetchurl,
fontconfig,
freetype,
gdk-pixbuf,
glib,
gnome2,
gtk3,
lib,
libdrm,
libnotify,
libsecret,
libuuid,
libxcb,
libxkbcommon,
mesa,
nspr,
nss,
pango,
stdenv,
systemd,
wrapGAppsHook,
xorg,
}:
let
version = "1.25.0";
version = "1.29.4";
rpath = lib.makeLibraryPath [
alsa-lib
@ -17,22 +48,24 @@ let
expat
fontconfig
freetype
gdk-pixbuf
glib
gnome2.GConf
gdk-pixbuf
gtk3
pango
libdrm
libnotify
libsecret
libuuid
libxcb
libxkbcommon
mesa
nspr
nss
pango
stdenv.cc.cc
systemd
xorg.libxkbfile
xorg.libX11
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
@ -42,14 +75,16 @@ let
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libXScrnSaver
] + ":${stdenv.cc.cc.lib}/lib64";
xorg.libxkbfile
xorg.libxshmfence
(lib.getLib stdenv.cc.cc)
];
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
sha256 = "sha256-998/voQ04fLj3KZCy6BueUoI1v++4BoGRTGJT7Nsv40=";
sha256 = "sha256-CqC6BrRhMfjxamSwC6ub1u3+FtDuIq3/OMNdUZgpCAQ=";
}
else
throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
@ -94,8 +129,9 @@ in stdenv.mkDerivation {
meta = with lib; {
description = "The GUI for MongoDB";
maintainers = with maintainers; [ bryanasdev000 ];
homepage = "https://www.mongodb.com/products/compass";
license = licenses.unfree;
license = licenses.sspl;
platforms = [ "x86_64-linux" ];
};
}