nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
794 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, mkDerivation
2018-03-04 11:46:16 +00:00
, cmake, libjpeg, libpng, libtiff, boost
, qtbase, qttools }:
mkDerivation rec {
pname = "scantailor-advanced";
2023-07-26 12:00:22 +00:00
version = "1.0.19";
2018-03-04 11:46:16 +00:00
src = fetchFromGitHub {
owner = "vigri";
2018-03-04 11:46:16 +00:00
repo = "scantailor-advanced";
rev = "v${version}";
2023-07-26 12:00:22 +00:00
sha256 = "sha256-mvoCoYdRTgXW5t8yd9Y9TOl7D3RDVwcjUv2YDUWrtRI=";
2018-03-04 11:46:16 +00:00
};
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";
2018-03-04 11:46:16 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
platforms = with platforms; gnu ++ linux ++ darwin;
2018-03-04 11:46:16 +00:00
};
}