2015-07-19 15:15:09 +00:00
|
|
|
{ pkgs, stdenv, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "viljetic-pages-0";
|
|
|
|
phases = [
|
|
|
|
"installPhase"
|
|
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
imagemagick
|
|
|
|
];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp ${./index.html} $out/index.html
|
2020-10-03 01:45:00 +00:00
|
|
|
convert ${./logo.xpm} $out/favicon.ico
|
2015-07-19 15:15:09 +00:00
|
|
|
convert ${./logo.xpm} $out/favicon2.png
|
|
|
|
'';
|
|
|
|
}
|