Zpkgs tv viljetic-pages: init at 0

This commit is contained in:
tv 2015-07-19 17:15:09 +02:00
parent c93c082bda
commit 41051d61fa
4 changed files with 51 additions and 0 deletions

View file

@ -7,4 +7,5 @@ pkgs //
github-hosts-sync = pkgs.callPackage ./github-hosts-sync.nix {};
github-known_hosts = pkgs.callPackage ./github-known_hosts.nix {};
much = pkgs.callPackage ./much.nix {};
viljetic-pages = pkgs.callPackage ./viljetic-pages {};
}

View file

@ -0,0 +1,16 @@
{ 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/favicon2.png
'';
}

View file

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<title>blank page</title>
<link rel="shortcut icon" href="favicon2.png" type="image/png">
<i>This page intentionally left blank.</i>
<!--
Ok, it's not blank, here are the cookies (bots welcome):
mailto:tomislav@viljetic.de
https://github.com/4z3
irc://freenode.net/#krebs
-->

View file

@ -0,0 +1,24 @@
/* XPM */
static char *meh[] = {
/* columns rows colors chars-per-pixel */
"16 16 2 1 ",
" c black",
". c None",
/* pixels */
"................",
". ...... .",
". .. ...... .. .",
". .. ...... .. .",
". ...... .",
"................",
". . . .",
". .. . .. . .",
". .. . .. . .",
". . . .",
"................",
"...... . .",
"...... . .",
"...... . .",
"...... . .",
"................"
};