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