summaryrefslogtreecommitdiffstats
path: root/Zpkgs
diff options
context:
space:
mode:
Diffstat (limited to 'Zpkgs')
-rw-r--r--Zpkgs/tv/default.nix1
-rw-r--r--Zpkgs/tv/viljetic-pages/default.nix16
-rw-r--r--Zpkgs/tv/viljetic-pages/index.html10
-rw-r--r--Zpkgs/tv/viljetic-pages/logo.xpm24
4 files changed, 51 insertions, 0 deletions
diff --git a/Zpkgs/tv/default.nix b/Zpkgs/tv/default.nix
index 631bb0e..6c42774 100644
--- a/Zpkgs/tv/default.nix
+++ b/Zpkgs/tv/default.nix
@@ -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 {};
}
diff --git a/Zpkgs/tv/viljetic-pages/default.nix b/Zpkgs/tv/viljetic-pages/default.nix
new file mode 100644
index 0000000..1ae55cc
--- /dev/null
+++ b/Zpkgs/tv/viljetic-pages/default.nix
@@ -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
+ '';
+}
diff --git a/Zpkgs/tv/viljetic-pages/index.html b/Zpkgs/tv/viljetic-pages/index.html
new file mode 100644
index 0000000..c06b3f9
--- /dev/null
+++ b/Zpkgs/tv/viljetic-pages/index.html
@@ -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
+-->
diff --git a/Zpkgs/tv/viljetic-pages/logo.xpm b/Zpkgs/tv/viljetic-pages/logo.xpm
new file mode 100644
index 0000000..bb263da
--- /dev/null
+++ b/Zpkgs/tv/viljetic-pages/logo.xpm
@@ -0,0 +1,24 @@
+/* XPM */
+static char *meh[] = {
+/* columns rows colors chars-per-pixel */
+"16 16 2 1 ",
+" c black",
+". c None",
+/* pixels */
+"................",
+". ...... .",
+". .. ...... .. .",
+". .. ...... .. .",
+". ...... .",
+"................",
+". . . .",
+". .. . .. . .",
+". .. . .. . .",
+". . . .",
+"................",
+"...... . .",
+"...... . .",
+"...... . .",
+"...... . .",
+"................"
+};