2021-01-30 19:00:43 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, ffmpeg, libxslt }:
|
2014-12-30 14:39:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "unpaper";
|
2014-12-30 14:39:26 +00:00
|
|
|
version = "6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
|
2014-12-30 14:39:26 +00:00
|
|
|
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-01-30 19:00:43 +00:00
|
|
|
buildInputs = [ ffmpeg libxslt ];
|
2014-12-30 14:39:26 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.flameeyes.eu/projects/unpaper";
|
2014-12-30 14:39:26 +00:00
|
|
|
description = "Post-processing tool for scanned sheets of paper";
|
|
|
|
license = licenses.gpl2;
|
2016-05-22 12:34:33 +00:00
|
|
|
platforms = platforms.all;
|
2014-12-30 14:39:26 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
}
|