forked from mirrors/nixpkgs
gocr: fix path to 'wish' in gocr.tcl
This commit is contained in:
parent
6287f78dcf
commit
0a6914a1ff
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, tk }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gocr-0.49";
|
name = "gocr-0.49";
|
||||||
|
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "06hpzp7rkkwfr1fvmc8kcfz9v490i9yir7f7imh13gmka0fr6afc";
|
sha256 = "06hpzp7rkkwfr1fvmc8kcfz9v490i9yir7f7imh13gmka0fr6afc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/bin/gocr.tcl
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://jocr.sourceforge.net/";
|
homepage = "http://jocr.sourceforge.net/";
|
||||||
description = "GPL Optical Character Recognition";
|
description = "GPL Optical Character Recognition";
|
||||||
|
|
Loading…
Reference in a new issue