Unverified Commit ebb6a0ff authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

synology-cloud-sync-decryption-tool: use stdenv mkDerivation (#427909)

parents 53895543 bc2e4e47
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
{
  lib,
  writeScript,
  stdenv,
  qt5,
  fetchurl,
  autoPatchelfHook,
}:

qt5.mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "synology-cloud-sync-decryption-tool";
  version = "027";

@@ -15,7 +16,10 @@ qt5.mkDerivation rec {
    sha256 = "sha256-EWxADvkfhnMwHIauJj3pH6SvSkkrc4cwAhsf1pWOOWQ=";
  };

  nativeBuildInputs = [ autoPatchelfHook ];
  nativeBuildInputs = [
    autoPatchelfHook
    qt5.wrapQtAppsHook
  ];

  installPhase = ''
    runHook preInstall