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