mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
22 lines
536 B
Nix
22 lines
536 B
Nix
{ stdenv, fetchurl, tk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gocr-0.50";
|
|
|
|
src = fetchurl {
|
|
url = "http://www-e.uni-magdeburg.de/jschulen/ocr/${name}.tar.gz";
|
|
sha256 = "1dgmcpapy7h68d53q2c5d0bpgzgfb2nw2blndnx9qhc7z12149mw";
|
|
};
|
|
|
|
postInstall = ''
|
|
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/bin/gocr.tcl
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://jocr.sourceforge.net/;
|
|
description = "GPL Optical Character Recognition";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|