Unverified Commit 2dc99487 authored by Azat Bahawi's avatar Azat Bahawi Committed by GitHub
Browse files

Merge pull request #260983 from unclamped/scantailor-universal

scantailor-universal: init at 0.2.14
parents f9ac2c65 ec65f9cf
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -18062,6 +18062,16 @@
    githubId = 1607770;
    name = "Ulrik Strid";
  };
  unclamped = {
    name = "Maru";
    email = "clear6860@tutanota.com";
    matrix = "@unhidden0174:matrix.org";
    github = "unclamped";
    githubId = 104658278;
    keys = [{
      fingerprint = "57A2 CC43 3068 CB62 89C1  F1DA 9137 BB2E 77AD DE7E";
    }];
  };
  unclechu = {
    name = "Viacheslav Lotsmanov";
    email = "lotsmanov89@gmail.com";
+41 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qttools
, wrapQtAppsHook
, zlib
, openjpeg
, libjpeg_turbo
, libpng
, libtiff
, boost
, libcanberra
}:

stdenv.mkDerivation rec {
  pname = "scantailor-universal";
  version = "0.2.14";

  src = fetchFromGitHub {
    owner = "trufanov-nok";
    repo = pname;
    rev = version;
    fetchSubmodules = true;
    hash = "sha256-n8NbokK+U0FAuYXtjRJcxlI1XAmI4hk5zV3sF86hB/s=";
  };

  buildInputs = [ qtbase zlib libjpeg_turbo libpng libtiff boost libcanberra openjpeg ];
  nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];

  meta = with lib; {
    description = "Interactive post-processing tool for scanned pages";
    homepage = "https://github.com/trufanov-nok/scantailor";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ unclamped ];
    platforms = platforms.unix;
    mainProgram = "scantailor-universal-cli";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -35206,6 +35206,8 @@ with pkgs;
  scantailor-advanced = libsForQt5.callPackage ../applications/graphics/scantailor/advanced.nix { };
  scantailor-universal = libsForQt5.callPackage ../applications/graphics/scantailor/universal.nix { };
  sc-im = callPackage ../applications/misc/sc-im { };
  scite = callPackage ../applications/editors/scite { };