diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix b/nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix new file mode 100644 index 000000000000..f9d6c87675f7 --- /dev/null +++ b/nixpkgs/pkgs/applications/graphics/scantailor/advanced.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, mkDerivation +, cmake, libjpeg, libpng, libtiff, boost +, qtbase, qttools }: + +mkDerivation rec { + pname = "scantailor-advanced"; + version = "1.0.16"; + + src = fetchFromGitHub { + owner = "4lex4"; + repo = "scantailor-advanced"; + rev = "v${version}"; + sha256 = "0lc9lzbpiy5hgimyhl4s4q67pb9gacpy985gl6iy8pl79zxhmcyp"; + }; + + nativeBuildInputs = [ cmake qttools ]; + buildInputs = [ libjpeg libpng libtiff boost qtbase ]; + + meta = with stdenv.lib; { + homepage = https://github.com/4lex4/scantailor-advanced; + description = "Interactive post-processing tool for scanned pages"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ jfrankenau ]; + platforms = with platforms; gnu ++ linux ++ darwin; + }; +} |