git.iko.soy/typeable/nixpkgs
on master help sign in
robo3t: refactor and add keyword
commitf141586b64f43727546f57e175935c9187e2e9d4 authorArtturin <Artturin@artturin.com> dateMon 21 Jun 2021, 03:38 (5 years ago) parent39717cb
1 file changed+24−7
pkgs/applications/misc/robo3t/default.nix+24−7
pkgs/applications/misc/robo3t/default.nix+24−7
@@ -1,5 +1,18 @@
1−{ lib, stdenv, fetchurl, curl, zlib, glib, xorg, dbus, fontconfig, libGL,
2− freetype, xkeyboard_config, makeDesktopItem, makeWrapper }:
1+{ lib
2+, stdenv
3+, fetchurl
4+, curl
5+, zlib
6+, glib
7+, xorg
8+, dbus
9+, fontconfig
10+, libGL
11+, freetype
12+, xkeyboard_config
13+, makeDesktopItem
14+, makeWrapper
15+}:
316
417let
518 curlWithGnuTls = curl.override { gnutlsSupport = true; sslSupport = false; };
@@ -30,7 +43,7 @@ stdenv.mkDerivation rec {
3043 categories = "Development;IDE;";
3144 };
3245
33− nativeBuildInputs = [makeWrapper];
46+ nativeBuildInputs = [ makeWrapper ];
3447
3548 ldLibraryPath = lib.makeLibraryPath [
3649 stdenv.cc.cc
@@ -51,6 +64,8 @@ stdenv.mkDerivation rec {
5164 ];
5265
5366 installPhase = ''
67+ runHook preInstall
68+
5469 BASEDIR=$out/lib/robo3t
5570
5671 mkdir -p $BASEDIR/bin
@@ -72,13 +87,15 @@ stdenv.mkDerivation rec {
7287 makeWrapper $BASEDIR/bin/robo3t $out/bin/robo3t \
7388 --suffix LD_LIBRARY_PATH : ${ldLibraryPath} \
7489 --suffix QT_XKB_CONFIG_ROOT : ${xkeyboard_config}/share/X11/xkb
90+
91+ runHook postInstall
7592 '';
7693
77− meta = {
94+ meta = with lib; {
7895 homepage = "https://robomongo.org/";
79− description = "Query GUI for mongodb";
96+ description = "Query GUI for mongodb. Formerly called Robomongo";
8097 platforms = [ "x86_64-linux" ];
81− license = lib.licenses.gpl3;
82− maintainers = [ lib.maintainers.eperuffo ];
98+ license = licenses.gpl3Only;
99+ maintainers = with maintainers; [ eperuffo ];
83100 };
84101}