diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-19 21:00:43 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-19 21:00:43 +0000 |
commit | a525fdb18d6cc92603b1e3ae6291c612890bf7ce (patch) | |
tree | e3e61ef655bfe3240028242a1d57afa483c82a1b /pkgs/tools/graphics | |
parent | 13c81f6c7977a0eebb6a69288b0893541d5183fa (diff) | |
parent | b94fef3cbad6b3b830f8f7c4a987c65c81c9e93d (diff) | |
download | nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar.gz nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar.bz2 nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar.lz nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar.xz nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.tar.zst nixlib-a525fdb18d6cc92603b1e3ae6291c612890bf7ce.zip |
svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/libpng15/; revision=31718
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/logstalgica/default.nix | 43 | ||||
-rw-r--r-- | pkgs/tools/graphics/wkhtmltopdf/default.nix | 22 |
2 files changed, 65 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/logstalgica/default.nix b/pkgs/tools/graphics/logstalgica/default.nix new file mode 100644 index 000000000000..bdde9daea9f1 --- /dev/null +++ b/pkgs/tools/graphics/logstalgica/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre, SDL_image, glew, mesa }: + +let + name = "logstalgia-1.0.3"; +in +stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "http://logstalgia.googlecode.com/files/logstalgia-1.0.3.tar.gz"; + sha256 = "1sv1cizyw3y7g558hnvvcal8z889gbr82v4qj35hxdmrzygqlcyk"; + }; + + buildInputs = [glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa]; + + meta = { + homepage = "http://code.google.com/p/logstalgia/"; + description = "website traffic visualization tool"; + license = stdenv.lib.licenses.gpl3Plus; + + longDescription = '' + Logstalgia is a website traffic visualization that replays or + streams web-server access logs as a pong-like battle between the + web server and an never ending torrent of requests. + + Requests appear as colored balls (the same color as the host) + which travel across the screen to arrive at the requested + location. Successful requests are hit by the paddle while + unsuccessful ones (eg 404 - File Not Found) are missed and pass + through. + + The paths of requests are summarized within the available space by + identifying common path prefixes. Related paths are grouped + together under headings. For instance, by default paths ending in + png, gif or jpg are grouped under the heading Images. Paths that + don’t match any of the specified groups are lumped together under + a Miscellaneous section. + ''; + + platforms = stdenv.lib.platforms.gnu; + maintainers = []; + }; +} diff --git a/pkgs/tools/graphics/wkhtmltopdf/default.nix b/pkgs/tools/graphics/wkhtmltopdf/default.nix new file mode 100644 index 000000000000..84b271acf2b0 --- /dev/null +++ b/pkgs/tools/graphics/wkhtmltopdf/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, qt4 }: + +stdenv.mkDerivation rec { + name = "wkhtmltopdf-0.11.0_rc1"; + + src = fetchurl { + url = "http://wkhtmltopdf.googlecode.com/files/${name}.tar.bz2"; + sha1 = "db03922d281856e503b3d562614e3936285728c7"; + }; + + buildInputs = [ qt4 ]; + + configurePhase = "qmake wkhtmltopdf.pro INSTALLBASE=$out"; + + enableParallelBuilding = true; + + meta = { + homepage = http://code.google.com/p/wkhtmltopdf/; + description = "Tools for rendering web pages to PDF or images"; + license = stdenv.lib.licenses.gpl3Plus; + }; +} |