@@ -0,0 +1,20 @@
1+{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
2+
3+stdenv.mkDerivation rec {
4+ name = "unpaper-${version}";
5+ version = "6.1";
6+
7+ src = fetchurl {
8+ url = "https://www.flameeyes.eu/files/${name}.tar.xz";
9+ sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
10+ };
11+
12+ buildInputs = [ pkgconfig libav libxslt ];
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://www.flameeyes.eu/projects/unpaper;
16+ description = "Post-processing tool for scanned sheets of paper";
17+ license = licenses.gpl2;
18+ maintainers = [ maintainers.rycee ];
19+ };
20+}