nixpkgs/pkgs/tools/graphics/cuneiform/default.nix

21 lines
482 B
Nix
Raw Normal View History

2016-01-24 15:50:54 +00:00
{ stdenv, fetchurl, cmake, patchelf, imagemagick }:
2016-01-24 15:50:54 +00:00
stdenv.mkDerivation rec {
name = "cuneiform-${version}";
2013-01-16 12:43:35 +00:00
version = "1.1.0";
2016-01-24 15:50:54 +00:00
src = fetchurl {
2013-01-17 07:21:04 +00:00
url = "https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2";
2013-01-16 12:43:35 +00:00
sha256 = "1bdvppyfx2184zmzcylskd87cxv56d8f32jf7g1qc8779l2hszjp";
};
2016-01-24 15:50:54 +00:00
buildInputs = [
cmake imagemagick
];
meta = {
description = "Multi-language OCR system";
platforms = stdenv.lib.platforms.linux;
};
}