Skip to content
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: init at 2.1.0 #23459

Merged
merged 1 commit into from Mar 8, 2017
Merged

gitkraken: init at 2.1.0 #23459

merged 1 commit into from Mar 8, 2017

Conversation

xNWDD
Copy link
Contributor

@xNWDD xNWDD commented Mar 3, 2017

Motivation for this change
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@xNWDD, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zraexy, @zimbatm and @peti to be potential reviewers.

@@ -353,6 +353,7 @@
notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";
nwdd = "Guillermo NWDD <nwdd+nixos@no.team>";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that a real email address?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add your entry to maintainers.nix in a separate commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bjornfor It's real, feel free to drop me a line.

@@ -0,0 +1,69 @@
{stdenv, lib, libXcomposite, libgnome_keyring, makeWrapper, udev, curl, fetchurl, libXfixes, atk, gtk2, libXrender, pango, gnome2, cairo, freetype, fontconfig, libX11, libXi, libXext, libXcursor, glib, libXScrnSaver, libxkbfile, libXtst, nss, nspr, cups, alsaLib, expat , gdk_pixbuf, libXdamage, libXrandr, dbus}:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wrap overlong lines using the following style:

{ stdenv, .......
, foo, .....
}:

EDIT: semicolon -> colon typo

phases = [ "unpackPhase" "installPhase" ];
buildInputs = [ makeWrapper ];

installPhase = ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent the string in installPhase:

  installPhase = ''
    mkdir -p "$out/opt/gitkraken"
    ...
  '';

ln -s "$out/opt/gitkraken/gitkraken" "$out/bin/gitkraken"
'';

meta = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you write meta = with stdenv.lib; { you can drop all the stdenv.lib things inside meta.

description = "The downright luxurious and most popular Git client for Windows, Mac & Linux";
license = licenses.unfreeRedistributable;
platforms = platforms.linux;
maintainers = [ ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be a maintainer?

meta = with stdenv.lib; {
homepage = https://www.gitkraken.com/;
description = "The downright luxurious and most popular Git client for Windows, Mac & Linux";
license = licenses.unfreeRedistributable;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the license allows us to redistribute.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually the other way round. This would allow us to distribute the binaries.

But their EULA states distribution is prohibited, so this should be licenses.unfree.

@grahamc
Copy link
Member

grahamc commented Mar 7, 2017 via email

@grahamc grahamc merged commit ebeb722 into NixOS:master Mar 8, 2017
@xNWDD xNWDD deleted the gitkraken branch March 9, 2017 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants