summary refs log tree commit diff
path: root/pkgs/applications/graphics/gocr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-29 18:55:16 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-29 18:55:16 +0000
commit907bb1aac65dd3acbdd2b6be831a82d051b8c5c2 (patch)
treedb10eb10d726b31601d4eaec77e74c1dcb779941 /pkgs/applications/graphics/gocr
parentad1c77118f74d84ea2026da237fd50cca4ee9180 (diff)
downloadnixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar.gz
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar.bz2
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar.lz
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar.xz
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.tar.zst
nixpkgs-907bb1aac65dd3acbdd2b6be831a82d051b8c5c2.zip
* ltrace: updated to 0.5.3.
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with
  SQLite.
* qemu-image: fix the URL.
* gdmap: make it build again (requires an older GTK+).
* rlwrap: updated to 0.37.
* smbfs-fuse -> fusesmb to match the upstream name.
* x11vnc: updated to 0.9.10.
* clearlyU: fix the URL.
* Various packages: follow the coding conventions.

svn path=/nixpkgs/trunk/; revision=22814
Diffstat (limited to 'pkgs/applications/graphics/gocr')
-rw-r--r--pkgs/applications/graphics/gocr/default.nix29
1 files changed, 11 insertions, 18 deletions
diff --git a/pkgs/applications/graphics/gocr/default.nix b/pkgs/applications/graphics/gocr/default.nix
index 4d3d33f58f5..4b2ebceda47 100644
--- a/pkgs/applications/graphics/gocr/default.nix
+++ b/pkgs/applications/graphics/gocr/default.nix
@@ -1,21 +1,14 @@
-args : with args;
-	let localDefs = builderDefs.passthru.function {
-		src = /* put a fetchurl here */
-fetchurl {
-		url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
-		sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
-	};
+{ stdenv, fetchurl }:
 
-		buildInputs = [];
-		configureFlags = [];
-	};
-	in with localDefs;
 stdenv.mkDerivation rec {
-	name = "gocr";
-	builder = writeScript (name + "-builder")
-		(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
-	meta = {
-		description = "GPL Optical Character Recognition";
-		inherit src;
-	};
+  name = "gocr-0.44";
+
+  src = fetchurl {
+    url = http://prdownloads.sourceforge.net/jocr/gocr-0.44.tar.gz;
+    sha256 = "0kvb7cbk6z5n4g0hhbwpdk2f3819yfamwsmkwanj99yhni6p5mr0";
+  };
+
+  meta = {
+    description = "GPL Optical Character Recognition";
+  };
 }