summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/glowing-bear/default.nix
blob: 8bdb23d50dd33757c0190992793cec049b603832 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ fetchFromGitHub, stdenv }:

stdenv.mkDerivation rec {
  pname = "glowing-bear";
  version = "0.7.1";

  src = fetchFromGitHub {
    rev = version;
    owner = "glowing-bear";
    repo = "glowing-bear";
    sha256 = "0gwrf67l3i3nl7zy1miljz6f3vv6zzc3g9as06by548f21cizzjb";
  };

  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";
    homepage = https://github.com/glowing-bear/glowing-bear;
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ delroth ];
    platforms = platforms.unix;
  };
}