mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ocrad: 0.27 -> 0.29 (#408837)
This commit is contained in:
commit
0a5a9fe214
1 changed files with 16 additions and 11 deletions
|
@ -1,28 +1,33 @@
|
||||||
{
|
{
|
||||||
fetchurl,
|
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
lzip,
|
lzip,
|
||||||
texinfo,
|
texinfo,
|
||||||
|
libpng,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ocrad";
|
pname = "ocrad";
|
||||||
version = "0.27";
|
version = "0.29";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/ocrad/${pname}-${version}.tar.lz";
|
url = "mirror://gnu/ocrad/ocrad-${finalAttrs.version}.tar.lz";
|
||||||
sha256 = "0divffvcaim89g4pvqs8kslbcxi475bcl3b4ynphf284k9zfdgx9";
|
hash = "sha256-ESAMxrC3uhaISnLcy1jvaU96omzSsgQeVVWA8GTS2ek=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
lzip # unpack
|
lzip # unpack
|
||||||
];
|
];
|
||||||
buildInputs = [ texinfo ];
|
|
||||||
|
buildInputs = [
|
||||||
|
texinfo
|
||||||
|
libpng
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Optical character recognition (OCR) program & library";
|
description = "Optical character recognition (OCR) program & library";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GNU Ocrad is an OCR (Optical Character Recognition) program based on
|
GNU Ocrad is an OCR (Optical Character Recognition) program based on
|
||||||
|
@ -37,9 +42,9 @@ stdenv.mkDerivation rec {
|
||||||
backend to other programs.
|
backend to other programs.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with lib.maintainers; [ pSub ];
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
mainProgram = "ocrad";
|
mainProgram = "ocrad";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue