16 src = fetchFromGitHub {
20 hash = "sha256-PMCetU+E0Kl50K7sJB6UiHVouWPtfW8ALXFacxCvAhE=";
23 vendorHash = "sha256-RsmwTRVjhEgKAT9aekSfkRuai2165KG7q5aFjAiLSPU=";
29 buildInputs = with xorg; [
38 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
45 for res in $(ls internal/assets/icons | sed -e 's/icon-//g' -e 's/.png//g'); do
46 install -Dm444 internal/assets/icons/icon-$res.png \
47 $out/share/icons/hicolor/''${res}x''${res}/apps/io.github.jacalz.rymdport.png
49 install -Dm444 internal/assets/svg/icon.svg $out/share/icons/hicolor/scalable/apps/io.github.jacalz.rymdport.svg
50 install -Dm444 internal/assets/unix/io.github.jacalz.rymdport.desktop -t $out/share/applications
54 description = "Easy encrypted file, folder, and text sharing between devices";
55 homepage = "https://github.com/Jacalz/rymdport";
56 changelog = "https://github.com/Jacalz/rymdport/blob/${src.rev}/CHANGELOG.md";
57 license = lib.licenses.gpl3Plus;
58 maintainers = with lib.maintainers; [ dotlambda ];
59 platforms = lib.platforms.linux;
60 mainProgram = "rymdport";