lol

Merge pull request #147099 from jcouyang/synology-drive-client

synology-drive-client: merge with "synology-drive"

authored by

Bobby Rong and committed by
GitHub
f6147993 8858896d

+4 -50
+3 -3
pkgs/applications/networking/synology-drive-client/default.nix
··· 8 8 description = "Desktop application to synchronize files and folders between the computer and the Synology Drive server."; 9 9 homepage = "https://www.synology.com/en-global/dsm/feature/drive"; 10 10 license = licenses.unfree; 11 - maintainers = with maintainers; [ jcouyang ]; 11 + maintainers = with maintainers; [ jcouyang MoritzBoehme ]; 12 12 platforms = [ "x86_64-linux" "x86_64-darwin" ]; 13 13 }; 14 14 15 15 linux = qt5.mkDerivation { 16 - inherit pname version; 16 + inherit pname version meta; 17 17 18 18 src = fetchurl { 19 19 url = "${baseUrl}/${version}-${buildNumber}/Ubuntu/Installer/x86_64/synology-drive-client-${buildNumber}.x86_64.deb"; ··· 43 43 }; 44 44 45 45 darwin = stdenv.mkDerivation { 46 - inherit pname version; 46 + inherit pname version meta; 47 47 48 48 src = fetchurl { 49 49 url = "${baseUrl}/${version}-${buildNumber}/Mac/Installer/synology-drive-client-${buildNumber}.dmg";
-45
pkgs/applications/networking/synology-drive/default.nix
··· 1 - { lib, mkDerivation, fetchurl, autoPatchelfHook, dpkg, glibc, gnome }: 2 - 3 - mkDerivation rec { 4 - pname = "synology-drive"; 5 - subVersion = "12674"; 6 - version = "3.0.1-${subVersion}"; 7 - 8 - src = fetchurl { 9 - url = "https://global.download.synology.com/download/Utility/SynologyDriveClient/${version}/Ubuntu/Installer/x86_64/synology-drive-client-${subVersion}.x86_64.deb"; 10 - sha256 = "1yyv6zgszsym22kf4jvlan7n9lw09fw24fyrh7c8pzbb2029gp8a"; 11 - }; 12 - 13 - nativeBuildInputs = [ autoPatchelfHook dpkg ]; 14 - 15 - buildInputs = [ glibc gnome.nautilus ]; 16 - 17 - unpackPhase = '' 18 - mkdir -p $out 19 - dpkg -x $src $out 20 - ''; 21 - 22 - installPhase = '' 23 - # synology-drive executable 24 - cp -av $out/usr/* $out 25 - rm -rf $out/usr 26 - 27 - runHook postInstall 28 - ''; 29 - 30 - postInstall = '' 31 - substituteInPlace $out/bin/synology-drive --replace /opt $out/opt 32 - ''; 33 - 34 - meta = with lib; { 35 - homepage = "https://www.synology.com/"; 36 - description = "Synchronize files between client and Synology NAS."; 37 - longDescription = '' 38 - Drive for PC, the desktop utility of the DSM add-on package. 39 - Drive, allows you to sync and share files owned by you or shared by others between a centralized Synology NAS and multiple client computers. 40 - ''; 41 - license = licenses.unfree; 42 - maintainers = with maintainers; [ MoritzBoehme ]; 43 - platforms = [ "x86_64-linux" ]; 44 - }; 45 - }
+1
pkgs/top-level/aliases.nix
··· 988 988 swfdec = throw "swfdec has been removed as broken and unmaintained."; # added 2020-08-23 989 989 swtpm-tpm2 = swtpm; # added 2021-02-26 990 990 syncthing-cli = syncthing; # added 2021-04-06 991 + synology-drive = throw "synology-drive has been superseded by synology-drive-client"; # added 2021-11-26 991 992 system_config_printer = system-config-printer; # added 2016-01-03 992 993 systemd-cryptsetup-generator = throw "systemd-cryptsetup-generator is now included in the systemd package"; # added 2020-07-12 993 994 systemd_with_lvm2 = throw "systemd_with_lvm2 is obsolete, enabled by default via the lvm module"; # added 2020-07-12
-2
pkgs/top-level/all-packages.nix
··· 27571 27571 mlt-qt5 = libsForQt514.mlt; 27572 27572 }; 27573 27573 27574 - synology-drive = libsForQt5.callPackage ../applications/networking/synology-drive { }; 27575 - 27576 27574 taxi = callPackage ../applications/networking/ftp/taxi { }; 27577 27575 27578 27576 librep = callPackage ../development/libraries/librep { };