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