Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51efe6d9f07e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9deca47b3320
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 18, 2019

  1. 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
    evanjs authored and c0bw3b committed Oct 18, 2019
    Copy the full SHA
    9deca47 View commit details
Showing with 6 additions and 4 deletions.
  1. +6 −4 pkgs/applications/version-management/gitkraken/default.nix
10 changes: 6 additions & 4 deletions pkgs/applications/version-management/gitkraken/default.nix
Original file line number Diff line number Diff line change
@@ -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,15 +69,16 @@ 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
dpkg -x $curSrc out
'';

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 = ''