unpaper: fix cross compilation
depend on xsltproc from build system architecture
This commit is contained in:
parent
4b9e3d1276
commit
5300cdc66a
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, ffmpeg_4, libxslt }:
|
{ lib, stdenv, fetchurl, buildPackages, pkg-config, ffmpeg_4 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unpaper";
|
pname = "unpaper";
|
||||||
@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config buildPackages.libxslt.bin ];
|
||||||
buildInputs = [ ffmpeg_4 libxslt ];
|
buildInputs = [ ffmpeg_4 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.flameeyes.eu/projects/unpaper";
|
homepage = "https://www.flameeyes.eu/projects/unpaper";
|
||||||
|
Loading…
Reference in New Issue
Block a user