From 64bf0aa0239cb94ededa5ec98e155b081b28d574 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Sun, 11 Jul 2021 18:29:04 +0200 Subject: [PATCH] neo4j-desktop: 1.4.5 -> 1.4.7 (#129948) --- pkgs/applications/misc/neo4j-desktop/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/neo4j-desktop/default.nix b/pkgs/applications/misc/neo4j-desktop/default.nix index 045f0db42fe8..967c3db4c651 100644 --- a/pkgs/applications/misc/neo4j-desktop/default.nix +++ b/pkgs/applications/misc/neo4j-desktop/default.nix @@ -1,21 +1,22 @@ { appimageTools, lib, fetchurl }: let pname = "neo4j-desktop"; - version = "1.4.5"; + version = "1.4.7"; name = "${pname}-${version}"; src = fetchurl { url = "https://s3-eu-west-1.amazonaws.com/dist.neo4j.org/${pname}/linux-offline/${name}-x86_64.AppImage"; - sha256 = "sha256-TCkjYhvGhgqgrDEMvC4Ww/sDxRhHC70YgfDlCIFitMo"; + hash = "sha256-oEcSW7UIeiGY2fCPJQ5EtDBRtd73Q04HaSk+7ObLKJc="; }; - appimageContents = appimageTools.extract { inherit src; name = pname; }; + appimageContents = appimageTools.extract { inherit name src; }; in appimageTools.wrapType2 { inherit name src; extraPkgs = pkgs: with pkgs; [ libsecret ]; extraInstallCommands = '' + mv $out/bin/${name} $out/bin/${pname} install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications substituteInPlace $out/share/applications/${pname}.desktop \ --replace 'Exec=AppRun' 'Exec=${pname}'