ocrad: 0.27 -> 0.29

emaryn 7ba22724 a4232347

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