2015-09-26 18:39:59 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, zlib }:
|
2005-08-24 16:02:30 +01:00
|
|
|
|
2008-06-10 19:15:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-04 19:07:05 +00:00
|
|
|
name = "libcaca-0.99.beta19";
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2005-08-24 16:02:30 +01:00
|
|
|
src = fetchurl {
|
2014-12-27 19:58:34 +00:00
|
|
|
urls = [
|
|
|
|
"http://fossies.org/linux/privat/${name}.tar.gz"
|
|
|
|
"http://caca.zoy.org/files/libcaca/${name}.tar.gz"
|
|
|
|
];
|
2014-11-04 19:07:05 +00:00
|
|
|
sha256 = "1x3j6yfyxl52adgnabycr0n38j9hx2j74la0hz0n8cnh9ry4d2qj";
|
2005-08-24 16:02:30 +01:00
|
|
|
};
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2015-10-20 23:10:42 +01:00
|
|
|
outputs = [ "dev" "bin" "out" "man" ];
|
|
|
|
|
2005-10-04 15:24:19 +01:00
|
|
|
configureFlags = "--disable-x11 --disable-imlib2 --disable-doc";
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2015-09-26 18:39:59 +01:00
|
|
|
propagatedBuildInputs = [ ncurses zlib ];
|
2008-06-10 19:15:10 +01:00
|
|
|
|
2015-10-20 23:10:42 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $dev/bin
|
|
|
|
mv $bin/bin/caca-config $dev/bin/caca-config
|
|
|
|
'';
|
|
|
|
|
2009-02-12 19:25:10 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://libcaca.zoy.org/;
|
|
|
|
description = "A graphics library that outputs text instead of pixels";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.wtfpl;
|
2009-02-12 19:25:10 +00:00
|
|
|
};
|
2005-08-24 16:02:30 +01:00
|
|
|
}
|