nixpkgs/pkgs/tools/graphics/unpaper/default.nix

23 lines
619 B
Nix
Raw Normal View History

2014-12-30 15:39:26 +01:00
{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
stdenv.mkDerivation rec {
pname = "unpaper";
2014-12-30 15:39:26 +01:00
version = "6.1";
src = fetchurl {
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
2014-12-30 15:39:26 +01:00
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libav libxslt ];
2014-12-30 15:39:26 +01:00
meta = with stdenv.lib; {
homepage = https://www.flameeyes.eu/projects/unpaper;
description = "Post-processing tool for scanned sheets of paper";
license = licenses.gpl2;
2016-05-22 14:34:33 +02:00
platforms = platforms.all;
2014-12-30 15:39:26 +01:00
maintainers = [ maintainers.rycee ];
};
}