1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/applications/misc/jp2a/default.nix

26 lines
610 B
Nix
Raw Normal View History

2017-04-03 15:48:52 +01:00
{ stdenv, fetchFromGitHub, libjpeg, autoreconfHook }:
stdenv.mkDerivation rec {
2017-04-03 15:48:52 +01:00
version = "1.0.7";
name = "jp2a-${version}";
2017-04-03 15:48:52 +01:00
src = fetchFromGitHub {
owner = "cslarsen";
repo = "jp2a";
rev = "v${version}";
sha256 = "12a1z9ba2j16y67f41y8ax5sgv1wdjd71pg7circdxkj263n78ql";
};
makeFlags = "PREFIX=$(out)";
2017-04-03 15:48:52 +01:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libjpeg ];
meta = with stdenv.lib; {
homepage = https://csl.name/jp2a/;
description = "A small utility that converts JPG images to ASCII";
license = licenses.gpl2;
platforms = platforms.unix;
};
}