Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
988 B
Nix
53 lines
988 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libsForQt5,
|
|
zlib,
|
|
openjpeg,
|
|
libjpeg_turbo,
|
|
libpng,
|
|
libtiff,
|
|
boost,
|
|
libcanberra,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scantailor-universal";
|
|
version = "0.2.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "trufanov-nok";
|
|
repo = "scantailor-universal";
|
|
rev = version;
|
|
fetchSubmodules = true;
|
|
hash = "sha256-n8NbokK+U0FAuYXtjRJcxlI1XAmI4hk5zV3sF86hB/s=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libsForQt5.qtbase
|
|
zlib
|
|
libjpeg_turbo
|
|
libpng
|
|
libtiff
|
|
boost
|
|
libcanberra
|
|
openjpeg
|
|
];
|
|
nativeBuildInputs = [
|
|
cmake
|
|
libsForQt5.wrapQtAppsHook
|
|
libsForQt5.qttools
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
homepage = "https://github.com/trufanov-nok/scantailor";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ unclamped ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "scantailor-universal-cli";
|
|
};
|
|
}
|