jp2a: 1.0.7 -> 1.1.0

+25 -7
+25 -7
pkgs/applications/misc/jp2a/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, libjpeg, autoreconfHook }: 2 3 stdenv.mkDerivation rec { 4 - version = "1.0.7"; 5 pname = "jp2a"; 6 7 src = fetchFromGitHub { 8 - owner = "cslarsen"; 9 repo = "jp2a"; 10 rev = "v${version}"; 11 - sha256 = "12a1z9ba2j16y67f41y8ax5sgv1wdjd71pg7circdxkj263n78ql"; 12 }; 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 16 - nativeBuildInputs = [ autoreconfHook ]; 17 - buildInputs = [ libjpeg ]; 18 19 meta = with lib; { 20 homepage = "https://csl.name/jp2a/"; 21 description = "A small utility that converts JPG images to ASCII"; 22 - license = licenses.gpl2; 23 platforms = platforms.unix; 24 }; 25 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , libjpeg 5 + , libpng 6 + , ncurses 7 + , autoreconfHook 8 + , autoconf-archive 9 + , pkg-config 10 + , bash-completion 11 + }: 12 13 stdenv.mkDerivation rec { 14 + version = "1.1.0"; 15 pname = "jp2a"; 16 17 src = fetchFromGitHub { 18 + owner = "Talinx"; 19 repo = "jp2a"; 20 rev = "v${version}"; 21 + sha256 = "1dz2mrhl45f0vwyfx7qc3665xma78q024c10lfsgn6farrr0c2lb"; 22 }; 23 24 makeFlags = [ "PREFIX=$(out)" ]; 25 26 + nativeBuildInputs = [ 27 + autoreconfHook 28 + autoconf-archive 29 + pkg-config 30 + bash-completion 31 + ]; 32 + buildInputs = [ libjpeg libpng ncurses ]; 33 + 34 + installFlags = [ "bashcompdir=\${out}/share/bash-completion/completions" ]; 35 36 meta = with lib; { 37 homepage = "https://csl.name/jp2a/"; 38 description = "A small utility that converts JPG images to ASCII"; 39 + license = licenses.gpl2Only; 40 + maintainers = [ maintainers.FlorianFranzen ]; 41 platforms = platforms.unix; 42 }; 43 }