about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/scantailor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/graphics/scantailor/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/graphics/scantailor/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/graphics/scantailor/default.nix b/nixpkgs/pkgs/applications/graphics/scantailor/default.nix
new file mode 100644
index 000000000000..bc54f3aa627a
--- /dev/null
+++ b/nixpkgs/pkgs/applications/graphics/scantailor/default.nix
@@ -0,0 +1,24 @@
+{stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:
+
+stdenv.mkDerivation {
+  name = "scantailor-0.9.12.1";
+
+  src = fetchurl {
+    url = "https://github.com/scantailor/scantailor/archive/RELEASE_0_9_12_1.tar.gz";
+    sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg";
+  };
+
+  buildInputs = [ qt4 cmake libjpeg libtiff boost ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    homepage = "http://scantailor.org/";
+    description = "Interactive post-processing tool for scanned pages";
+
+    license = stdenv.lib.licenses.gpl3Plus;
+
+    maintainers = [ stdenv.lib.maintainers.viric ];
+    platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
+  };
+}