2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, libav, libxslt }:
|
2014-12-30 14:39:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "unpaper";
|
2014-12-30 14:39:26 +00:00
|
|
|
version = "6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
|
2014-12-30 14:39:26 +00:00
|
|
|
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libav libxslt ];
|
2014-12-30 14:39:26 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01: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 13:34:33 +01:00
|
|
|
platforms = platforms.all;
|
2014-12-30 14:39:26 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
}
|