summary refs log tree commit diff
path: root/pkgs/applications/graphics/scantailor/default.nix
blob: 3e2037f6d45d812434203bae1a74d74e4983f742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchFromGitHub, qt4, cmake, libjpeg, libtiff, boost }:

stdenv.mkDerivation rec {
  pname = "scantailor";
  version = "0.9.12.1";

  src = fetchFromGitHub {
    owner = "scantailor";
    repo = "scantailor";
    rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
    sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ qt4 libjpeg libtiff boost ];

  meta = {
    homepage = "https://scantailor.org/";
    description = "Interactive post-processing tool for scanned pages";

    license = lib.licenses.gpl3Plus;

    maintainers = [ lib.maintainers.viric ];
    platforms = lib.platforms.gnu ++ lib.platforms.linux;
  };
}