1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libcaca/default.nix
Moritz Ulrich c8d4f40dc6 Revert "libcaca: Enable support for png/jpeg/gif"
I didn't notice this was a mass-rebuild change. Pushing it to
staging instead.

This reverts commit 6b8bd7c7d5.
2016-09-18 14:26:40 +02:00

32 lines
793 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";
};
outputs = [ "bin" "dev" "out" "man" ];
configureFlags = "--disable-x11 --disable-imlib2 --disable-doc";
propagatedBuildInputs = [ ncurses zlib ];
postInstall = ''
mkdir -p $dev/bin
mv $bin/bin/caca-config $dev/bin/caca-config
'';
meta = {
homepage = http://libcaca.zoy.org/;
description = "A graphics library that outputs text instead of pixels";
license = stdenv.lib.licenses.wtfpl;
platforms = stdenv.lib.platforms.unix;
};
}