mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
27 lines
716 B
Nix
27 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;
|
|
};
|
|
}
|