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