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
46 lines
873 B
Nix
46 lines
873 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libsForQt5,
|
|
libjpeg,
|
|
libpng,
|
|
libtiff,
|
|
boost,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scantailor-advanced";
|
|
version = "1.0.19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vigri";
|
|
repo = "scantailor-advanced";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-mvoCoYdRTgXW5t8yd9Y9TOl7D3RDVwcjUv2YDUWrtRI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
libsForQt5.wrapQtAppsHook
|
|
libsForQt5.qttools
|
|
];
|
|
buildInputs = [
|
|
libjpeg
|
|
libpng
|
|
libtiff
|
|
boost
|
|
libsForQt5.qtbase
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vigri/scantailor-advanced";
|
|
description = "Interactive post-processing tool for scanned pages (vigri's fork)";
|
|
mainProgram = "scantailor";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = with platforms; gnu ++ linux ++ darwin;
|
|
};
|
|
}
|