2015-10-23 02:47:24 +00:00
|
|
|
{ stdenv, fetchurl, libjpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.6";
|
|
|
|
name = "jp2a-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/jp2a/${name}.tar.gz";
|
|
|
|
sha256 = "076frk3pa16s4r1b10zgy81vdlz0385zh3ykbnkaij25jn5aqc09";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
buildInputs = [ libjpeg ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://csl.name/jp2a/;
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "A small utility that converts JPG images to ASCII";
|
2015-10-23 02:47:24 +00:00
|
|
|
license = licenses.gpl2;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-10-23 02:47:24 +00:00
|
|
|
};
|
|
|
|
}
|