2021-12-13 15:37:24 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, qt4, cmake, libjpeg, libtiff, boost }:
|
2014-12-29 10:23:00 +01:00
|
|
|
|
2021-11-07 21:29:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scantailor";
|
|
|
|
version = "0.9.12.1";
|
2014-12-29 10:23:00 +01:00
|
|
|
|
2021-12-13 15:37:24 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scantailor";
|
|
|
|
repo = "scantailor";
|
|
|
|
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
|
|
|
|
sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA=";
|
2014-12-29 10:23:00 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 libjpeg libtiff boost ];
|
2014-12-29 10:23:00 +01:00
|
|
|
|
|
|
|
meta = {
|
2021-07-31 19:01:50 +02:00
|
|
|
homepage = "https://scantailor.org/";
|
2014-12-29 10:23:00 +01:00
|
|
|
description = "Interactive post-processing tool for scanned pages";
|
|
|
|
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2014-12-29 10:23:00 +01:00
|
|
|
|
2021-01-15 14:21:58 +01:00
|
|
|
maintainers = [ lib.maintainers.viric ];
|
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
2014-12-29 10:23:00 +01:00
|
|
|
};
|
|
|
|
}
|