11 stdenv.mkDerivation (finalAttrs: {
12 pname = "ricochet-refresh";
15 src = fetchFromGitHub {
16 owner = "blueprint-freespeech";
17 repo = "ricochet-refresh";
18 rev = "v${finalAttrs.version}-release";
19 fetchSubmodules = true;
20 hash = "sha256-MXbsNrF3y2DimXUuf6XbqqCxcNsTGfNHSAMstdX1MoU=";
23 sourceRoot = "${finalAttrs.src.name}/src";
27 buildInputs = (with qt5; [
45 enableParallelBuilding = true;
47 cmakeBuildType = "MinSizeRel";
49 # https://github.com/blueprint-freespeech/ricochet-refresh/blob/main/BUILDING.md
51 (lib.cmakeBool "RICOCHET_REFRESH_INSTALL_DESKTOP" true)
52 (lib.cmakeBool "USE_SUBMODULE_FMT" true)
56 description = "Secure chat without DNS or WebPKI";
57 mainProgram = "ricochet-refresh";
59 Ricochet Refresh is a peer-to-peer messenger app that uses Tor
62 When you start Ricochet Refresh it creates a Tor hidden
63 service on your computer. The address of this hidden service
64 is your anonymous identity on the Tor network and how others
65 will be able to communicate with you. When you start a chat
66 with one of your contacts a Tor circuit is created between
67 your machine and the your contact's machine.
69 The original Ricochet uses onion "v2" hashed-RSA addresses,
70 which are no longer supported by the Tor network. Ricochet
71 Refresh upgrades the original Ricochet protocol to use the
72 current onion "v3" ed25519 addresses.
74 homepage = "https://www.ricochetrefresh.net/";
75 downloadPage = "https://github.com/blueprint-freespeech/ricochet-refresh/releases";
76 license = lib.licenses.bsd3;
77 platforms = lib.platforms.linux;