File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments