nixpkgs/pkgs/tools/graphics/unpaper/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

22 lines
617 B
Nix

{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
stdenv.mkDerivation rec {
name = "unpaper-${version}";
version = "6.1";
src = fetchurl {
url = "https://www.flameeyes.eu/files/${name}.tar.xz";
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libav libxslt ];
meta = with stdenv.lib; {
homepage = https://www.flameeyes.eu/projects/unpaper;
description = "Post-processing tool for scanned sheets of paper";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
};
}