Added jp2a tool.
A small utility that converts JPG images to ASCII.
This commit is contained in:
parent
2568806696
commit
60b15039df
21
pkgs/applications/misc/jp2a/default.nix
Normal file
21
pkgs/applications/misc/jp2a/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -1947,6 +1947,8 @@ let
|
||||
|
||||
john = callPackage ../tools/security/john { };
|
||||
|
||||
jp2a = callPackage ../applications/misc/jp2a { };
|
||||
|
||||
jq = callPackage ../development/tools/jq {};
|
||||
|
||||
jscoverage = callPackage ../development/tools/misc/jscoverage { };
|
||||
|
Loading…
Reference in New Issue
Block a user