mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00
gitkraken: 2.2.0 -> 2.2.1
This commit is contained in:
parent
e3c1e37823
commit
8c2f986ed1
@ -4,16 +4,18 @@
|
|||||||
,nss, nspr, cups, fetchurl, expat, gdk_pixbuf, libXdamage, libXrandr, dbus
|
,nss, nspr, cups, fetchurl, expat, gdk_pixbuf, libXdamage, libXrandr, dbus
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gitkraken-${version}";
|
name = "gitkraken-${version}";
|
||||||
version = "2.2.0";
|
version = "2.2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://release.gitkraken.com/linux/v${version}.tar.gz";
|
url = "https://release.gitkraken.com/linux/v${version}.tar.gz";
|
||||||
sha256 = "0a3ed917e6e937af4dd180144fbb4ad8b99b35b5d8c1f0684a55de38189a812d";
|
sha256 = "12nyw2dh9ylrms264dbw0xzyif0znmba32zyfq7kdp0iay0wvgqd";
|
||||||
};
|
};
|
||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath [
|
libPath = makeLibraryPath [
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
curl
|
curl
|
||||||
udev
|
udev
|
||||||
@ -58,13 +60,13 @@ stdenv.mkDerivation rec {
|
|||||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||||
--set-rpath "$libPath:$out/opt/gitkraken" "$out/opt/gitkraken/gitkraken"
|
--set-rpath "$libPath:$out/opt/gitkraken" "$out/opt/gitkraken/gitkraken"
|
||||||
wrapProgram $out/opt/gitkraken/gitkraken \
|
wrapProgram $out/opt/gitkraken/gitkraken \
|
||||||
--prefix LD_PRELOAD : "${stdenv.lib.makeLibraryPath [ curl ]}/libcurl.so.4" \
|
--prefix LD_PRELOAD : "${makeLibraryPath [ curl ]}/libcurl.so.4" \
|
||||||
--prefix LD_PRELOAD : "${stdenv.lib.makeLibraryPath [ libgnome_keyring ]}/libgnome-keyring.so.0"
|
--prefix LD_PRELOAD : "${makeLibraryPath [ libgnome_keyring ]}/libgnome-keyring.so.0"
|
||||||
mkdir "$out/bin"
|
mkdir "$out/bin"
|
||||||
ln -s "$out/opt/gitkraken/gitkraken" "$out/bin/gitkraken"
|
ln -s "$out/opt/gitkraken/gitkraken" "$out/bin/gitkraken"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
homepage = https://www.gitkraken.com/;
|
homepage = https://www.gitkraken.com/;
|
||||||
description = "The downright luxurious and most popular Git client for Windows, Mac & Linux";
|
description = "The downright luxurious and most popular Git client for Windows, Mac & Linux";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
|
Loading…
Reference in New Issue
Block a user