nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
R. RyanTM 5b3b3a1e83 riot-web: 0.14.1 -> 0.14.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/riot-web/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.14.2 with grep in /nix/store/zglwk185bfl8x2dmkqpl51801rk58gvi-riot-web-0.14.2
- directory tree listing: https://gist.github.com/eae072ce5bb48e5e8b59f7e04caf5b0d
2018-05-06 21:51:32 -07:00

27 lines
828 B
Nix

{ lib, stdenv, fetchurl, fetchpatch, writeText, conf ? null }:
let configFile = writeText "riot-config.json" conf; in
stdenv.mkDerivation rec {
name= "riot-web-${version}";
version = "0.14.2";
src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "1qma49a6lvr9anrry3vbhjhvy06bgapknnvbdljnbb3l9c99nmxi";
};
installPhase = ''
mkdir -p $out/
cp -R . $out/
${lib.optionalString (conf != null) "ln -s ${configFile} $out/config.json"}
'';
meta = {
description = "A glossy Matrix collaboration client for the web";
homepage = http://riot.im/;
maintainers = with stdenv.lib.maintainers; [ bachp ];
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.all;
hydraPlatforms = [];
};
}