1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/libcaca/default.nix
aszlig b34adfb71a
libcaca: Add zlib as a dependency.
In order to load compressed figlet/toilet fonts, libcaca needs to have
support for zlib.

The motivation behind this is because I'm going to package toilet, which
comes with compressed fonts by default.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-09-26 21:04:15 +02:00

24 lines
611 B
Nix

{ stdenv, fetchurl, ncurses, zlib }:
stdenv.mkDerivation rec {
name = "libcaca-0.99.beta19";
src = fetchurl {
urls = [
"http://fossies.org/linux/privat/${name}.tar.gz"
"http://caca.zoy.org/files/libcaca/${name}.tar.gz"
];
sha256 = "1x3j6yfyxl52adgnabycr0n38j9hx2j74la0hz0n8cnh9ry4d2qj";
};
configureFlags = "--disable-x11 --disable-imlib2 --disable-doc";
propagatedBuildInputs = [ ncurses zlib ];
meta = {
homepage = http://libcaca.zoy.org/;
description = "A graphics library that outputs text instead of pixels";
license = stdenv.lib.licenses.wtfpl;
};
}