nixpkgs/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
R. RyanTM 857f0753d6 riot-web: 0.15.5 -> 0.15.6 (#42958)
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

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 0.15.6 with grep in /nix/store/0gr8hg3lgymk3idlxb9i4q0p6yyq3azz-riot-web-0.15.6
- directory tree listing: https://gist.github.com/5d5d991112bb6e9960e1319112c7c6e9
- du listing: https://gist.github.com/e2ade24d81e7c7b978e65607f2d7b669
2018-07-06 20:12:27 +02:00

28 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.15.6";
src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "032svv30dhj9gl0v37djn9bnwh7f9bfg2czhmcszdygsd0879x08";
};
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 = [];
};
}