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

23 lines
619 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkgconfig, libav, libxslt }:
2014-12-30 14:39:26 +00:00
stdenv.mkDerivation rec {
pname = "unpaper";
2014-12-30 14:39:26 +00:00
version = "6.1";
src = fetchurl {
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
2014-12-30 14:39:26 +00:00
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libav libxslt ];
2014-12-30 14:39:26 +00:00
meta = with lib; {
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 ];
};
}