ocrad: 0.27 -> 0.29

emaryn 7ba22724 a4232347

+16 -11
+16 -11
pkgs/by-name/oc/ocrad/package.nix
··· 1 1 { 2 - fetchurl, 3 2 lib, 4 3 stdenv, 4 + fetchurl, 5 5 lzip, 6 6 texinfo, 7 + libpng, 7 8 }: 8 9 9 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 10 11 pname = "ocrad"; 11 - version = "0.27"; 12 + version = "0.29"; 12 13 13 14 src = fetchurl { 14 - url = "mirror://gnu/ocrad/${pname}-${version}.tar.lz"; 15 - sha256 = "0divffvcaim89g4pvqs8kslbcxi475bcl3b4ynphf284k9zfdgx9"; 15 + url = "mirror://gnu/ocrad/ocrad-${finalAttrs.version}.tar.lz"; 16 + hash = "sha256-ESAMxrC3uhaISnLcy1jvaU96omzSsgQeVVWA8GTS2ek="; 16 17 }; 17 18 18 19 nativeBuildInputs = [ 19 20 lzip # unpack 20 21 ]; 21 - buildInputs = [ texinfo ]; 22 + 23 + buildInputs = [ 24 + texinfo 25 + libpng 26 + ]; 22 27 23 28 doCheck = true; 24 29 25 - meta = with lib; { 30 + meta = { 26 31 description = "Optical character recognition (OCR) program & library"; 27 32 longDescription = '' 28 33 GNU Ocrad is an OCR (Optical Character Recognition) program based on ··· 37 42 backend to other programs. 38 43 ''; 39 44 40 - license = licenses.gpl3Plus; 41 - maintainers = with maintainers; [ pSub ]; 42 - platforms = platforms.unix; 45 + license = lib.licenses.gpl3Plus; 46 + maintainers = with lib.maintainers; [ pSub ]; 47 + platforms = lib.platforms.unix; 43 48 mainProgram = "ocrad"; 44 49 }; 45 - } 50 + })