summary refs log tree commit diff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2014-12-30 15:39:26 +0100
committerRobert Helgesson <robert@rycee.net>2015-01-03 21:36:43 +0100
commit5b9b923abd69c3f2cf531ec20bb654e6257684ff (patch)
treef1918000abaed56bd5bf8b387d84fdd0eacdcb26 /pkgs/tools/graphics
parent03a57c7d9d2edf19b314c7114d43baef50ff1cf3 (diff)
downloadnixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar.gz
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar.bz2
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar.lz
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar.xz
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.tar.zst
nixlib-5b9b923abd69c3f2cf531ec20bb654e6257684ff.zip
Add package 'unpaper'.
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/unpaper/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/unpaper/default.nix b/pkgs/tools/graphics/unpaper/default.nix
new file mode 100644
index 000000000000..e199eeea132b
--- /dev/null
+++ b/pkgs/tools/graphics/unpaper/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
+
+stdenv.mkDerivation rec {
+  name = "unpaper-${version}";
+  version = "6.1";
+
+  src = fetchurl {
+    url = "https://www.flameeyes.eu/files/${name}.tar.xz";
+    sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
+  };
+
+  buildInputs = [ pkgconfig libav libxslt ];
+
+  meta = with stdenv.lib; {
+    homepage = https://www.flameeyes.eu/projects/unpaper;
+    description = "Post-processing tool for scanned sheets of paper";
+    license = licenses.gpl2;
+    maintainers = [ maintainers.rycee ];
+  };
+}