1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix

27 lines
769 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, mkDerivation
2018-03-04 11:46:16 +00:00
, cmake, libjpeg, libpng, libtiff, boost
, qtbase, qttools }:
mkDerivation rec {
pname = "scantailor-advanced";
version = "1.0.16";
2018-03-04 11:46:16 +00:00
src = fetchFromGitHub {
owner = "4lex4";
repo = "scantailor-advanced";
rev = "v${version}";
sha256 = "0lc9lzbpiy5hgimyhl4s4q67pb9gacpy985gl6iy8pl79zxhmcyp";
2018-03-04 11:46:16 +00:00
};
nativeBuildInputs = [ cmake qttools ];
buildInputs = [ libjpeg libpng libtiff boost qtbase ];
meta = with stdenv.lib; {
homepage = "https://github.com/4lex4/scantailor-advanced";
2018-03-04 11:46:16 +00:00
description = "Interactive post-processing tool for scanned pages";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jfrankenau ];
platforms = with platforms; gnu ++ linux ++ darwin;
2018-03-04 11:46:16 +00:00
};
}