From 41051d61fa39f06a2379b52109076c4778b77e32 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 19 Jul 2015 17:15:09 +0200 Subject: Zpkgs tv viljetic-pages: init at 0 --- Zpkgs/tv/default.nix | 1 + Zpkgs/tv/viljetic-pages/default.nix | 16 ++++++++++++++++ Zpkgs/tv/viljetic-pages/index.html | 10 ++++++++++ Zpkgs/tv/viljetic-pages/logo.xpm | 24 ++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 Zpkgs/tv/viljetic-pages/default.nix create mode 100644 Zpkgs/tv/viljetic-pages/index.html create mode 100644 Zpkgs/tv/viljetic-pages/logo.xpm (limited to 'Zpkgs') diff --git a/Zpkgs/tv/default.nix b/Zpkgs/tv/default.nix index 631bb0e8..6c427749 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 00000000..1ae55cca --- /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 00000000..c06b3f97 --- /dev/null +++ b/Zpkgs/tv/viljetic-pages/index.html @@ -0,0 +1,10 @@ + +blank page + +This page intentionally left blank. + diff --git a/Zpkgs/tv/viljetic-pages/logo.xpm b/Zpkgs/tv/viljetic-pages/logo.xpm new file mode 100644 index 00000000..bb263dad --- /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 */ +"................", +". ...... .", +". .. ...... .. .", +". .. ...... .. .", +". ...... .", +"................", +". . . .", +". .. . .. . .", +". .. . .. . .", +". . . .", +"................", +"...... . .", +"...... . .", +"...... . .", +"...... . .", +"................" +}; -- cgit v1.2.3