10 stdenv.mkDerivation rec {
15 url = "https://github.com/BiglySoftware/BiglyBT/releases/download/v${version}/GitHub_BiglyBT_unix.tar.gz";
16 hash = "sha256-CfLKoX77yCanSzHq+Fy3jRqQAC2GeUo2SO9x0mk2Tf4=";
19 nativeBuildInputs = [ wrapGAppsHook3 ];
24 sed -e 's/AUTOUPDATE_SCRIPT=1/AUTOUPDATE_SCRIPT=0/g' \
33 install -d $out/{share/{biglybt,applications,icons/hicolor/scalable/apps},bin}
35 cp -r ./* $out/share/biglybt/
37 ln -s $out/share/biglybt/biglybt.desktop $out/share/applications/
39 ln -s $out/share/biglybt/biglybt.svg $out/share/icons/hicolor/scalable/apps/
41 wrapProgram $out/share/biglybt/biglybt \
42 --prefix PATH : ${lib.makeBinPath [ jre ]}
44 ln -s $out/share/biglybt/biglybt $out/bin/
48 passthru.updateScript = nix-update-script {
56 changelog = "https://github.com/BiglySoftware/BiglyBT/releases/tag/v${version}";
57 description = "BitTorrent client based on the Azureus that supports I2P darknet for privacy";
58 downloadPage = "https://github.com/BiglySoftware/BiglyBT";
59 homepage = "https://www.biglybt.com/";
60 license = lib.licenses.gpl3Plus;
61 platforms = lib.platforms.unix;
62 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
63 mainProgram = "biglybt";
64 maintainers = with lib.maintainers; [ raspher ];