Skip to content

Commit 0a5a9fe

Browse files
authored
ocrad: 0.27 -> 0.29 (#408837)
2 parents c6d5534 + 7ba2272 commit 0a5a9fe

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

pkgs/by-name/oc/ocrad/package.nix

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,33 @@
11
{
2-
fetchurl,
32
lib,
43
stdenv,
4+
fetchurl,
55
lzip,
66
texinfo,
7+
libpng,
78
}:
89

9-
stdenv.mkDerivation rec {
10+
stdenv.mkDerivation (finalAttrs: {
1011
pname = "ocrad";
11-
version = "0.27";
12+
version = "0.29";
1213

1314
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=";
1617
};
1718

1819
nativeBuildInputs = [
1920
lzip # unpack
2021
];
21-
buildInputs = [ texinfo ];
22+
23+
buildInputs = [
24+
texinfo
25+
libpng
26+
];
2227

2328
doCheck = true;
2429

25-
meta = with lib; {
30+
meta = {
2631
description = "Optical character recognition (OCR) program & library";
2732
longDescription = ''
2833
GNU Ocrad is an OCR (Optical Character Recognition) program based on
@@ -37,9 +42,9 @@ stdenv.mkDerivation rec {
3742
backend to other programs.
3843
'';
3944

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;
4348
mainProgram = "ocrad";
4449
};
45-
}
50+
})

0 commit comments

Comments
 (0)