2019-02-03 15:27:30 +01:00
|
|
|
{ fetchFromGitHub, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "glowing-bear";
|
2019-11-19 17:33:32 +01:00
|
|
|
version = "0.7.2";
|
2019-02-03 15:27:30 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "glowing-bear";
|
|
|
|
repo = "glowing-bear";
|
2019-11-19 17:33:32 +01:00
|
|
|
sha256 = "14a3fqsmi28g7j3lzk4l4m47p2iml1aaf3514wazn2clw48lnqhw";
|
2019-02-03 15:27:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp index.html min.js serviceworker.js webapp.manifest.json $out
|
|
|
|
cp -R 3rdparty assets css directives js $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A web client for Weechat";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/glowing-bear/glowing-bear";
|
2019-02-03 15:27:30 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ delroth ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|