2021-11-07 20:29:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:
|
2014-12-29 09:23:00 +00:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scantailor";
|
|
|
|
version = "0.9.12.1";
|
2014-12-29 09:23:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "https://github.com/scantailor/scantailor/archive/RELEASE_${lib.replaceStrings ["."] ["_"] version}.tar.gz";
|
2017-01-09 23:14:21 +00:00
|
|
|
sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg";
|
2014-12-29 09:23:00 +00:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 libjpeg libtiff boost ];
|
2014-12-29 09:23:00 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-07-31 18:01:50 +01:00
|
|
|
homepage = "https://scantailor.org/";
|
2014-12-29 09:23:00 +00:00
|
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2014-12-29 09:23:00 +00:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
2014-12-29 09:23:00 +00:00
|
|
|
};
|
|
|
|
}
|