gitkraken: 6.2.1 -> 6.3.0 (#71294)

* gitkraken: 6.2.1 -> 6.3.0

* gitkraken: run preInstall and postInstall hooks during installPhase

* gitkraken: move dpkg to nativeBuildInputs
This commit is contained in:
Evan Stoll 2019-10-18 12:26:12 -04:00 committed by Renaud
parent 51efe6d9f0
commit 9deca47b33

View File

@ -13,11 +13,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gitkraken"; pname = "gitkraken";
version = "6.2.1"; version = "6.3.0";
src = fetchurl { src = fetchurl {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb"; url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb";
sha256 = "1l1w8gr4ss0g2k7bfslnc7df4ls1av59jjjc8mrx97wsndrm3vxg"; sha256 = "06hjzkkrg2f9lb72ik16zgv813cxsv679szfdzrfygbb6wxnkjyp";
}; };
libPath = makeLibraryPath [ libPath = makeLibraryPath [
@ -69,8 +69,8 @@ stdenv.mkDerivation rec {
comment = "Graphical Git client from Axosoft"; comment = "Graphical Git client from Axosoft";
}; };
nativeBuildInputs = [ makeWrapper wrapGAppsHook ]; nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
buildInputs = [ dpkg gtk3 gnome3.adwaita-icon-theme ]; buildInputs = [ gtk3 gnome3.adwaita-icon-theme ];
unpackCmd = '' unpackCmd = ''
mkdir out mkdir out
@ -78,6 +78,7 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
runHook preInstall
mkdir $out mkdir $out
pushd usr pushd usr
pushd share pushd share
@ -89,6 +90,7 @@ stdenv.mkDerivation rec {
popd popd
ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
runHook postInstall
''; '';
postFixup = '' postFixup = ''