From 16ce3bc020b1d226f87cdf41b218989c814486cf Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Wed, 2 Nov 2022 16:46:34 -0700 Subject: [PATCH] Revert "onlykey: synology-cloud-sync-decryption-tool init at 027" --- .../default.nix | 43 ------------------- pkgs/top-level/all-packages.nix | 2 - 2 files changed, 45 deletions(-) delete mode 100644 pkgs/applications/networking/synology-cloud-sync-decryption-tool/default.nix diff --git a/pkgs/applications/networking/synology-cloud-sync-decryption-tool/default.nix b/pkgs/applications/networking/synology-cloud-sync-decryption-tool/default.nix deleted file mode 100644 index 3ceb5c0e1afd..000000000000 --- a/pkgs/applications/networking/synology-cloud-sync-decryption-tool/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, writeScript, qt5, fetchurl, autoPatchelfHook }: - -qt5.mkDerivation rec { - pname = "synology-cloud-sync-decryption-tool"; - version = "027"; - - src = fetchurl { - url = "https://global.download.synology.com/download/Utility/SynologyCloudSyncDecryptionTool/${version}/Linux/x86_64/SynologyCloudSyncDecryptionTool-${version}_x64.tar.gz"; - sha256 = "sha256-EWxADvkfhnMwHIauJj3pH6SvSkkrc4cwAhsf1pWOOWQ="; - }; - - nativeBuildInputs = [ autoPatchelfHook ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp $NIX_BUILD_TOP/SynologyCloudSyncDecryptionTool $out/bin - - runHook postInstall - ''; - - passthru.updateScript = writeScript "update-synology-cloud-sync-decryption-tool" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p curl common-updater-scripts - - set -euo pipefail - - version="$(curl -s https://www.synology.com/en-uk/releaseNote/SynologyCloudSyncDecryptionTool \ - | grep -oP '(?<=data-version=")\d+' \ - | head -1)" - update-source-version synology-cloud-sync-decryption-tool "$version" - ''; - - meta = with lib; { - description = "A desktop tool to decrypt data encrypted by Cloud Sync."; - homepage = "https://kb.synology.com/en-global/DSM/help/SynologyCloudSyncDecryptionTool/synologycloudsyncdecryptiontool"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ kalbasit ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7ca9088c229a..2241ecf0f600 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31800,8 +31800,6 @@ with pkgs; synology-drive-client = callPackage ../applications/networking/synology-drive-client { }; - synology-cloud-sync-decryption-tool = callPackage ../applications/networking/synology-cloud-sync-decryption-tool { }; - maestral = with python3Packages; toPythonApplication maestral; maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };