2022-09-09 14:08:57 +00:00
|
|
|
{ lib, stdenv, fetchurl, buildPackages, pkg-config, ffmpeg_4 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unpaper";
|
|
|
|
version = "6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
nativeBuildInputs = [ pkg-config buildPackages.libxslt.bin ];
|
|
|
|
buildInputs = [ ffmpeg_4 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.flameeyes.eu/projects/unpaper";
|
|
|
|
description = "Post-processing tool for scanned sheets of paper";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
}
|