-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitkraken: 10.1.1 -> 10.2.0 #333400
gitkraken: 10.1.1 -> 10.2.0 #333400
Conversation
Result of 1 package built:
|
For the reviewers, I would like to take advantage of this PR to reformat the code with Here is the diff generated after running diff --git a/pkgs/applications/version-management/gitkraken/default.nix b/pkgs/applications/version-management/gitkraken/default.nix
index 9f867d9f3b3e..80c890046895 100644
--- a/pkgs/applications/version-management/gitkraken/default.nix
+++ b/pkgs/applications/version-management/gitkraken/default.nix
@@ -1,10 +1,58 @@
-{ lib, stdenv, libXcomposite, libgnome-keyring, makeWrapper, udev, curlWithGnuTls, alsa-lib
-, libXfixes, atk, gtk3, libXrender, pango, adwaita-icon-theme, cairo, freetype, fontconfig
-, libX11, libXi, libxcb, libXext, libXcursor, glib, libXScrnSaver, libxkbfile, libXtst
-, nss, nspr, cups, fetchzip, expat, gdk-pixbuf, libXdamage, libXrandr, dbus
-, makeDesktopItem, openssl, wrapGAppsHook3, makeShellWrapper, at-spi2-atk, at-spi2-core, libuuid
-, e2fsprogs, krb5, libdrm, mesa, unzip, copyDesktopItems, libxshmfence, libxkbcommon, git
-, libGL, zlib, cacert
+{
+ lib,
+ stdenv,
+ libXcomposite,
+ libgnome-keyring,
+ makeWrapper,
+ udev,
+ curlWithGnuTls,
+ alsa-lib,
+ libXfixes,
+ atk,
+ gtk3,
+ libXrender,
+ pango,
+ adwaita-icon-theme,
+ cairo,
+ freetype,
+ fontconfig,
+ libX11,
+ libXi,
+ libxcb,
+ libXext,
+ libXcursor,
+ glib,
+ libXScrnSaver,
+ libxkbfile,
+ libXtst,
+ nss,
+ nspr,
+ cups,
+ fetchzip,
+ expat,
+ gdk-pixbuf,
+ libXdamage,
+ libXrandr,
+ dbus,
+ makeDesktopItem,
+ openssl,
+ wrapGAppsHook3,
+ makeShellWrapper,
+ at-spi2-atk,
+ at-spi2-core,
+ libuuid,
+ e2fsprogs,
+ krb5,
+ libdrm,
+ mesa,
+ unzip,
+ copyDesktopItems,
+ libxshmfence,
+ libxkbcommon,
+ git,
+ libGL,
+ zlib,
+ cacert,
}:
with lib;
@@ -40,12 +88,22 @@ let
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = builtins.attrNames srcs;
- maintainers = with maintainers; [ xnwdd evanjs arkivm nicolas-goudry ];
+ maintainers = with maintainers; [
+ xnwdd
+ evanjs
+ arkivm
+ nicolas-goudry
+ ];
mainProgram = "gitkraken";
};
linux = stdenv.mkDerivation rec {
- inherit pname version src meta;
+ inherit
+ pname
+ version
+ src
+ meta
+ ;
dontBuild = true;
dontConfigure = true;
@@ -96,18 +154,26 @@ let
zlib
];
- desktopItems = [ (makeDesktopItem {
- name = "GitKraken Desktop";
- exec = "gitkraken";
- icon = "gitkraken";
- desktopName = "GitKraken Desktop";
- genericName = "Git Client";
- categories = [ "Development" ];
- comment = "Unleash your repo";
- }) ];
+ desktopItems = [
+ (makeDesktopItem {
+ name = "GitKraken Desktop";
+ exec = "gitkraken";
+ icon = "gitkraken";
+ desktopName = "GitKraken Desktop";
+ genericName = "Git Client";
+ categories = [ "Development" ];
+ comment = "Unleash your repo";
+ })
+ ];
- nativeBuildInputs = [ copyDesktopItems (wrapGAppsHook3.override { makeWrapper = makeShellWrapper; }) ];
- buildInputs = [ gtk3 adwaita-icon-theme ];
+ nativeBuildInputs = [
+ copyDesktopItems
+ (wrapGAppsHook3.override { makeWrapper = makeShellWrapper; })
+ ];
+ buildInputs = [
+ gtk3
+ adwaita-icon-theme
+ ];
# avoid double-wrapping
dontWrapGApps = true;
@@ -159,9 +225,17 @@ let
};
darwin = stdenv.mkDerivation {
- inherit pname version src meta;
-
- nativeBuildInputs = [ unzip makeWrapper ];
+ inherit
+ pname
+ version
+ src
+ meta
+ ;
+
+ nativeBuildInputs = [
+ unzip
+ makeWrapper
+ ];
installPhase = ''
runHook preInstall
@@ -177,6 +251,4 @@ let
dontFixup = true;
};
in
-if stdenv.isDarwin
-then darwin
-else linux
+if stdenv.isDarwin then darwin else linux |
@nicolas-goudry if nixfmt is from |
Yep, that’s the one. I’ll make another commit then. Thanks for your input! |
Description of changes
Release notes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.