2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub
|
2018-03-04 12:46:16 +01:00
|
|
|
, cmake, libjpeg, libpng, libtiff, boost
|
|
|
|
, qtbase, qttools }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "scantailor-advanced-${version}";
|
2018-07-18 02:04:02 +02:00
|
|
|
version = "1.0.16";
|
2018-03-04 12:46:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "4lex4";
|
|
|
|
repo = "scantailor-advanced";
|
|
|
|
rev = "v${version}";
|
2018-07-18 02:04:02 +02:00
|
|
|
sha256 = "0lc9lzbpiy5hgimyhl4s4q67pb9gacpy985gl6iy8pl79zxhmcyp";
|
2018-03-04 12:46:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
buildInputs = [ libjpeg libpng libtiff boost qtbase ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/4lex4/scantailor-advanced;
|
|
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
2018-07-18 02:04:02 +02:00
|
|
|
platforms = with platforms; gnu ++ linux ++ darwin;
|
2018-03-04 12:46:16 +01:00
|
|
|
};
|
|
|
|
}
|