diff options
author | unclamped <clear6860@tutanota.com> | 2023-10-16 19:38:26 -0300 |
---|---|---|
committer | unclamped <clear6860@tutanota.com> | 2023-10-16 19:38:26 -0300 |
commit | ec65f9cfd908c1ed2adbbc122cce29830627e891 (patch) | |
tree | bb5874c9540c7f645d65a0974715692fdb6586d7 /pkgs/applications/graphics | |
parent | b0ffea2a32154fd98abee82809fca9cbaa1e524d (diff) | |
download | nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar.gz nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar.bz2 nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar.lz nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar.xz nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.tar.zst nixlib-ec65f9cfd908c1ed2adbbc122cce29830627e891.zip |
scantailor-universal: init at 0.2.14
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/scantailor/universal.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/scantailor/universal.nix b/pkgs/applications/graphics/scantailor/universal.nix new file mode 100644 index 000000000000..31d5c6ca6570 --- /dev/null +++ b/pkgs/applications/graphics/scantailor/universal.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, mkDerivation +, fetchFromGitHub +, cmake +, qtbase +, qttools +, wrapQtAppsHook +, zlib +, openjpeg +, libjpeg_turbo +, libpng +, libtiff +, boost +, libcanberra +}: + +stdenv.mkDerivation rec { + pname = "scantailor-universal"; + version = "0.2.14"; + + src = fetchFromGitHub { + owner = "trufanov-nok"; + repo = pname; + rev = version; + fetchSubmodules = true; + hash = "sha256-n8NbokK+U0FAuYXtjRJcxlI1XAmI4hk5zV3sF86hB/s="; + }; + + buildInputs = [ qtbase zlib libjpeg_turbo libpng libtiff boost libcanberra openjpeg ]; + nativeBuildInputs = [ cmake wrapQtAppsHook qttools ]; + + meta = with lib; { + description = "Interactive post-processing tool for scanned pages"; + homepage = "https://github.com/trufanov-nok/scantailor"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ unclamped ]; + platforms = platforms.unix; + mainProgram = "scantailor-universal-cli"; + }; +} |