summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2014-12-29 10:23:00 +0100
committerLluís Batlle i Rossell <viric@viric.name>2015-01-14 20:32:05 +0100
commit9be183955d57aa0fbb7e02465443b80a8cd4871e (patch)
tree3a37312e2fb717fff53d3ebc91890d28dd768be5
parentUse callPackage for nodePackages, to allow easier overriding of node-packages... (diff)
downloadnixpkgs-9be183955d57aa0fbb7e02465443b80a8cd4871e.tar.gz
Adding scantailor.
(cherry picked from commit 7eda68709e9e50b1c4a608ab141f6c7065708c0f) (cherry picked from commit b985a9e0a1fe392c37e91eaddd624cfcb9fa4a25)
-rw-r--r--pkgs/applications/graphics/scantailor/default.nix22
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/scantailor/default.nix b/pkgs/applications/graphics/scantailor/default.nix
new file mode 100644
index 000000000000..36f7545a0536
--- /dev/null
+++ b/pkgs/applications/graphics/scantailor/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:
+
+stdenv.mkDerivation rec {
+ name = "scantailor-0.9.11.1";
+
+ src = fetchurl {
+ url = "https://github.com/scantailor/scantailor/archive/RELEASE_0_9_11_1.tar.gz";
+ sha256 = "1z06yg228r317m8ab3mywg0wbpj0x2llqj187bh4g3k4xc2fcm8m";
+ };
+
+ buildInputs = [ qt4 cmake libjpeg libtiff boost ];
+
+ 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;
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9530740eb8f7..fe19b5c76f28 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -9130,6 +9130,10 @@ let
sbagen = callPackage ../applications/misc/sbagen { };
+ scantailor = callPackage ../applications/graphics/scantailor {
+ boost = boost155;
+ };
+
scite = callPackage ../applications/editors/scite { };
scribus = callPackage ../applications/office/scribus {