diff options
author | tv <tv@krebsco.de> | 2015-07-19 17:15:09 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-19 17:15:09 +0200 |
commit | 4111fcd70a97566e7ef46ff7bf52630c9620c9e8 (patch) | |
tree | bde3030b2e07f081c74abf1c1ebb3701aa68589b | |
parent | 9d40d93b6859bc9a36aa4cf1cef151a80cf746f1 (diff) |
Zpkgs tv viljetic-pages: init at 0
-rw-r--r-- | Zpkgs/tv/default.nix | 1 | ||||
-rw-r--r-- | Zpkgs/tv/viljetic-pages/default.nix | 16 | ||||
-rw-r--r-- | Zpkgs/tv/viljetic-pages/index.html | 10 | ||||
-rw-r--r-- | Zpkgs/tv/viljetic-pages/logo.xpm | 24 |
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 */ +"................", +". ...... .", +". .. ...... .. .", +". .. ...... .. .", +". ...... .", +"................", +". . . .", +". .. . .. . .", +". .. . .. . .", +". . . .", +"................", +"...... . .", +"...... . .", +"...... . .", +"...... . .", +"................" +}; |