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";
|
2022-05-22 12:00:00 +00:00
|
|
|
version = "1.0.18";
|
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}";
|
2022-05-22 12:00:00 +00:00
|
|
|
sha256 = "sha256-4/QSjgHvRgIduS/AXbT7osRTdOdgR7On3CbjRnGbwHU=";
|
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)";
|
2018-03-04 11:46:16 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
2018-07-18 00:04:02 +00:00
|
|
|
platforms = with platforms; gnu ++ linux ++ darwin;
|
2018-03-04 11:46:16 +00:00
|
|
|
};
|
|
|
|
}
|