2021-12-13 14:37:24 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, 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
|
|
|
|
2021-12-13 14:37:24 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scantailor";
|
|
|
|
repo = "scantailor";
|
|
|
|
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
|
|
|
|
sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA=";
|
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
|
|
|
};
|
|
|
|
}
|