mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
21 lines
482 B
Nix
21 lines
482 B
Nix
{ stdenv, fetchurl, cmake, patchelf, imagemagick }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cuneiform-${version}";
|
|
version = "1.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2";
|
|
sha256 = "1bdvppyfx2184zmzcylskd87cxv56d8f32jf7g1qc8779l2hszjp";
|
|
};
|
|
|
|
buildInputs = [
|
|
cmake imagemagick
|
|
];
|
|
|
|
meta = {
|
|
description = "Multi-language OCR system";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|