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