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 13:41:18 +01:00
|
|
|
pname = "scantailor-advanced";
|
2018-07-18 01:04:02 +01:00
|
|
|
version = "1.0.16";
|
2018-03-04 11:46:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "4lex4";
|
|
|
|
repo = "scantailor-advanced";
|
|
|
|
rev = "v${version}";
|
2018-07-18 01:04:02 +01:00
|
|
|
sha256 = "0lc9lzbpiy5hgimyhl4s4q67pb9gacpy985gl6iy8pl79zxhmcyp";
|
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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/4lex4/scantailor-advanced";
|
2018-03-04 11:46:16 +00:00
|
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
2018-07-18 01:04:02 +01:00
|
|
|
platforms = with platforms; gnu ++ linux ++ darwin;
|
2018-03-04 11:46:16 +00:00
|
|
|
};
|
|
|
|
}
|