diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix b/nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix deleted file mode 100644 index e61237dbb69..00000000000 --- a/nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchurl, writeText, jq, conf ? {} }: - -# Note for maintainers: -# Versions of `riot-web` and `riot-desktop` should be kept in sync. - -let - noPhoningHome = { - disable_guests = true; # disable automatic guest account registration at matrix.org - piwik = false; # disable analytics - }; - configOverrides = writeText "riot-config-overrides.json" (builtins.toJSON (noPhoningHome // conf)); - -in stdenv.mkDerivation rec { - pname = "riot-web"; - version = "1.6.2"; - - src = fetchurl { - url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz"; - sha256 = "1cyjw3x9yh96cn84r95zziwxgifkmzd5kdf4l69b7mwnqcr78dp0"; - }; - - installPhase = '' - runHook preInstall - - mkdir -p $out/ - cp -R . $out/ - ${jq}/bin/jq -s '.[0] * .[1]' "config.sample.json" "${configOverrides}" > "$out/config.json" - - runHook postInstall - ''; - - meta = { - description = "A glossy Matrix collaboration client for the web"; - homepage = "http://riot.im/"; - maintainers = with stdenv.lib.maintainers; [ bachp pacien ma27 ]; - license = stdenv.lib.licenses.asl20; - platforms = stdenv.lib.platforms.all; - hydraPlatforms = []; - }; -} |