2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scantailor";
|
|
|
|
version = "0.9.12.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://github.com/scantailor/scantailor/archive/RELEASE_${lib.replaceStrings ["."] ["_"] version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 libjpeg libtiff boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://scantailor.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|