17 src = fetchFromGitHub {
21 hash = "sha256-o+FmAG+Zcuud2CKtMLQkdLkXyJ41kaXn3qp/O6rUXJA=";
24 vendorHash = "sha256-daOYPZri/ikshTUh3Lk2qHTbeD9mNUUue35aG/b4c88=";
42 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 for res in $(ls internal/assets/icons | sed -e 's/icon-//g' -e 's/.png//g'); do
50 install -Dm444 internal/assets/icons/icon-$res.png \
51 $out/share/icons/hicolor/''${res}x''${res}/apps/io.github.jacalz.rymdport.png
53 install -Dm444 internal/assets/svg/icon.svg $out/share/icons/hicolor/scalable/apps/io.github.jacalz.rymdport.svg
54 install -Dm444 internal/assets/unix/io.github.jacalz.rymdport.desktop -t $out/share/applications
58 description = "Easy encrypted file, folder, and text sharing between devices";
59 homepage = "https://github.com/Jacalz/rymdport";
60 changelog = "https://github.com/Jacalz/rymdport/blob/${src.rev}/CHANGELOG.md";
61 license = lib.licenses.gpl3Plus;
62 maintainers = with lib.maintainers; [ dotlambda ];
63 platforms = lib.platforms.linux;
64 mainProgram = "rymdport";