synology-drive: init at 3.0.1-12674 (#141977)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: MoritzBoehme <mr.x@moritzboeh.me>

authored by Moritz Böhme Sandro MoritzBoehme and committed by GitHub e5537e4d 7d2c9796

+53
+6
maintainers/maintainer-list.nix
··· 7849 7849 githubId = 99988; 7850 7850 name = "Maarten Hoogendoorn"; 7851 7851 }; 7852 + MoritzBoehme = { 7853 + email = "mail@moritzboeh.me"; 7854 + github = "MoritzBoehme"; 7855 + githubId = 42215704; 7856 + name = "Moritz Böhme"; 7857 + }; 7852 7858 MostAwesomeDude = { 7853 7859 email = "cds@corbinsimpson.com"; 7854 7860 github = "MostAwesomeDude";
+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 + }
+2
pkgs/top-level/all-packages.nix
··· 27128 27128 mlt-qt5 = libsForQt514.mlt; 27129 27129 }; 27130 27130 27131 + synology-drive = libsForQt5.callPackage ../applications/networking/synology-drive { }; 27132 + 27131 27133 taxi = callPackage ../applications/networking/ftp/taxi { }; 27132 27134 27133 27135 librep = callPackage ../development/libraries/librep { };