3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/irc/glowing-bear/default.nix

28 lines
687 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, stdenv }:
2019-02-03 14:27:30 +00:00
stdenv.mkDerivation rec {
pname = "glowing-bear";
2021-04-16 13:32:20 +01: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 13:32:20 +01:00
sha256 = "0lf0j72m6rwlgqssdxf0m9si99lah08lww7q7i08p5i5lpv6zh2s";
2019-02-03 14:27:30 +00:00
};
installPhase = ''
mkdir $out
2021-04-16 13:32:20 +01: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
'';
meta = with lib; {
2019-02-03 14:27:30 +00:00
description = "A web client for Weechat";
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;
};
}