git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #146193 from bryanasdev000/mongodb-compass

mongodb-compass: 1.25.0 -> 1.29.4

commitc69f32ea3003a4c4fe3f4117fa05a58be1a04a5d authorThiago Kenji Okada <thiagokokada@gmail.com> dateTue 16 Nov 2021, 19:21 (5 years ago) parent59e5ab0d9673a6
1 file changed+48−12
pkgs/tools/misc/mongodb-compass/default.nix+48−12
pkgs/tools/misc/mongodb-compass/default.nix+48−12
@@ -1,9 +1,40 @@
1−{ lib, stdenv, fetchurl, dpkg
2−, alsa-lib, at-spi2-atk, at-spi2-core, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
3−, gnome2, gdk-pixbuf, gtk3, pango, libnotify, libsecret, libuuid, libxcb, nspr, nss, systemd, xorg, wrapGAppsHook }:
1+{
2+alsa-lib,
3+at-spi2-atk,
4+at-spi2-core,
5+atk,
6+cairo,
7+cups,
8+curl,
9+dbus,
10+dpkg,
11+expat,
12+fetchurl,
13+fontconfig,
14+freetype,
15+gdk-pixbuf,
16+glib,
17+gnome2,
18+gtk3,
19+lib,
20+libdrm,
21+libnotify,
22+libsecret,
23+libuuid,
24+libxcb,
25+libxkbcommon,
26+mesa,
27+nspr,
28+nss,
29+pango,
30+stdenv,
31+systemd,
32+wrapGAppsHook,
33+xorg,
34+}:
435
536let
6− version = "1.25.0";
37+ version = "1.29.4";
738
839 rpath = lib.makeLibraryPath [
940 alsa-lib
@@ -17,22 +48,24 @@ let
1748 expat
1849 fontconfig
1950 freetype
51+ gdk-pixbuf
2052 glib
2153 gnome2.GConf
22− gdk-pixbuf
2354 gtk3
24− pango
55+ libdrm
2556 libnotify
2657 libsecret
2758 libuuid
2859 libxcb
60+ libxkbcommon
61+ mesa
2962 nspr
3063 nss
64+ pango
3165 stdenv.cc.cc
3266 systemd
33−
34− xorg.libxkbfile
3567 xorg.libX11
68+ xorg.libXScrnSaver
3669 xorg.libXcomposite
3770 xorg.libXcursor
3871 xorg.libXdamage
@@ -42,14 +75,16 @@ let
4275 xorg.libXrandr
4376 xorg.libXrender
4477 xorg.libXtst
45− xorg.libXScrnSaver
46− ] + ":${stdenv.cc.cc.lib}/lib64";
78+ xorg.libxkbfile
79+ xorg.libxshmfence
80+ (lib.getLib stdenv.cc.cc)
81+ ];
4782
4883 src =
4984 if stdenv.hostPlatform.system == "x86_64-linux" then
5085 fetchurl {
5186 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
52− sha256 = "sha256-998/voQ04fLj3KZCy6BueUoI1v++4BoGRTGJT7Nsv40=";
87+ sha256 = "sha256-CqC6BrRhMfjxamSwC6ub1u3+FtDuIq3/OMNdUZgpCAQ=";
5388 }
5489 else
5590 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
@@ -94,8 +129,9 @@ in stdenv.mkDerivation {
94129
95130 meta = with lib; {
96131 description = "The GUI for MongoDB";
132+ maintainers = with maintainers; [ bryanasdev000 ];
97133 homepage = "https://www.mongodb.com/products/compass";
98− license = licenses.unfree;
134+ license = licenses.sspl;
99135 platforms = [ "x86_64-linux" ];
100136 };
101137}