summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/viljetic-pages/default.nix
blob: ee07c9277faad3c9266bb88262847f2d3ac9046a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, stdenv, ... }:

stdenv.mkDerivation {
  name = "viljetic-pages-0";
  phases = [
    "installPhase"
  ];
  buildInputs = with pkgs; [
    imagemagick
  ];
  installPhase = ''
    mkdir -p $out
    cp ${./index.html} $out/index.html
    convert ${./logo.xpm} $out/favicon.ico
    convert ${./logo.xpm} $out/favicon2.png
  '';
}