893b09d324
GitOrigin-RevId: eac07edbd20ed4908b98790ba299250b5527ecdf
26 lines
716 B
Nix
26 lines
716 B
Nix
{ lib, stdenv, fetchFromGitHub, qt4, cmake, libjpeg, libtiff, boost }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scantailor";
|
|
version = "0.9.12.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scantailor";
|
|
repo = "scantailor";
|
|
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
|
|
sha256 = "sha256-Jn8+X737vwaE0ZPYdQv/1SocmWFA74XL90IW8yNiafA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|