2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, mkDerivation
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmake, libjpeg, libpng, libtiff, boost
|
|
|
|
, qtbase, qttools }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "scantailor-advanced";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "1.0.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-06-16 17:23:12 +00:00
|
|
|
owner = "vigri";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "scantailor-advanced";
|
|
|
|
rev = "v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
sha256 = "sha256-mvoCoYdRTgXW5t8yd9Y9TOl7D3RDVwcjUv2YDUWrtRI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
buildInputs = [ libjpeg libpng libtiff boost qtbase ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/vigri/scantailor-advanced";
|
|
|
|
description = "Interactive post-processing tool for scanned pages (vigri's fork)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "scantailor";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; gnu ++ linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|