Trying a less disruptive patch for Cuneiform
This commit is contained in:
parent
522a03cde6
commit
491f5be49b
@ -1,19 +1,25 @@
|
|||||||
{ stdenv, fetchbzr, cmake, patchelf, imagemagick }:
|
{ stdenv, fetchurl, cmake, patchelf, imagemagick }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cuneiform-${version}";
|
name = "cuneiform-${version}";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchbzr {
|
src = fetchurl {
|
||||||
url = "lp:~f0ma/cuneiform-linux/devel";
|
url = "https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2";
|
||||||
rev = "540";
|
sha256 = "1bdvppyfx2184zmzcylskd87cxv56d8f32jf7g1qc8779l2hszjp";
|
||||||
sha256 = "0sj7v3plf2rrc2vzxl946h9yfribc0jfn4b3ffppghxk2g6kicsb";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
patches = [
|
||||||
cmake imagemagick
|
(fetchurl {
|
||||||
|
url = "https://git.archlinux.org/svntogit/community.git/plain/cuneiform/trunk/build-fix.patch?id=a2ec92f05de006b56d16ac6a6c370d54a554861a";
|
||||||
|
sha256 = "19cmrlx4khn30qqrpyayn7bicg8yi0wpz1x1bvqqrbvr3kwldxyj";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = [ imagemagick ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Multi-language OCR system";
|
description = "Multi-language OCR system";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user