summary refs log tree commit diff
path: root/pkgs/applications/graphics/scantailor/default.nix
blob: 898cc3336a55edef2ac6bfe09787f847ff4fe5fe (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
{lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:

stdenv.mkDerivation {
  name = "scantailor-0.9.12.1";

  src = fetchurl {
    url = "https://github.com/scantailor/scantailor/archive/RELEASE_0_9_12_1.tar.gz";
    sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg";
  };

  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;
  };
}