18 stdenv.mkDerivation rec {
19 pname = "scantailor-universal";
22 src = fetchFromGitHub {
23 owner = "trufanov-nok";
26 fetchSubmodules = true;
27 hash = "sha256-n8NbokK+U0FAuYXtjRJcxlI1XAmI4hk5zV3sF86hB/s=";
30 buildInputs = [ qtbase zlib libjpeg_turbo libpng libtiff boost libcanberra openjpeg ];
31 nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
34 description = "Interactive post-processing tool for scanned pages";
35 homepage = "https://github.com/trufanov-nok/scantailor";
36 license = licenses.gpl3Plus;
37 maintainers = with maintainers; [ unclamped ];
38 platforms = platforms.unix;
39 mainProgram = "scantailor-universal-cli";