Merge pull request #10437 from fredlebel/jp2a

Added jp2a tool.
This commit is contained in:
goibhniu 2015-10-23 09:36:46 +02:00
commit a924c55d0b
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ 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/;
description = "A small utility that converts JPG images to ASCII.";
license = licenses.gpl2;
};
}

View File

@ -1953,6 +1953,8 @@ let
john = callPackage ../tools/security/john { };
jp2a = callPackage ../applications/misc/jp2a { };
jq = callPackage ../development/tools/jq {};
jscoverage = callPackage ../development/tools/misc/jscoverage { };