mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
23 lines
627 B
Nix
23 lines
627 B
Nix
{ lib, stdenv, fetchurl, pkg-config, ffmpeg_4, libxslt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unpaper";
|
|
version = "6.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
|
|
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ ffmpeg_4 libxslt ];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|