depot/third_party/nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

27 lines
776 B
Nix

{ lib, fetchFromGitHub, mkDerivation
, cmake, libjpeg, libpng, libtiff, boost
, qtbase, qttools }:
mkDerivation rec {
pname = "scantailor-advanced";
version = "1.0.19";
src = fetchFromGitHub {
owner = "vigri";
repo = "scantailor-advanced";
rev = "v${version}";
sha256 = "sha256-mvoCoYdRTgXW5t8yd9Y9TOl7D3RDVwcjUv2YDUWrtRI=";
};
nativeBuildInputs = [ cmake qttools ];
buildInputs = [ libjpeg libpng libtiff boost qtbase ];
meta = with lib; {
homepage = "https://github.com/vigri/scantailor-advanced";
description = "Interactive post-processing tool for scanned pages (vigri's fork)";
mainProgram = "scantailor";
license = licenses.gpl3Plus;
maintainers = [ ];
platforms = with platforms; gnu ++ linux ++ darwin;
};
}