summary refs log tree commit diff
path: root/pkgs/tools/misc/noteshrink
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2018-03-13 09:08:18 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-03-13 09:08:18 +0100
commitdc1c9fb2512070ecf795efe6731ac1c62399067a (patch)
treee01e088ce34b563f5dbeba14c7bc69ac54e5f06e /pkgs/tools/misc/noteshrink
parentf8926fbcc9e67ac5abc2a404db4c70acc05bea72 (diff)
downloadnixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar.gz
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar.bz2
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar.lz
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar.xz
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.tar.zst
nixlib-dc1c9fb2512070ecf795efe6731ac1c62399067a.zip
noteshrink: init at 0.1.1
Diffstat (limited to 'pkgs/tools/misc/noteshrink')
-rw-r--r--pkgs/tools/misc/noteshrink/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/noteshrink/default.nix b/pkgs/tools/misc/noteshrink/default.nix
new file mode 100644
index 000000000000..77c84ab45118
--- /dev/null
+++ b/pkgs/tools/misc/noteshrink/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, python3, imagemagick }:
+
+with python3.pkgs;
+
+buildPythonApplication rec {
+  name = "noteshrink-${version}";
+  version = "0.1.1";
+
+  src = fetchFromGitHub {
+    owner  = "mzucker";
+    repo   = "noteshrink";
+    rev    = version;
+    sha256 = "0xhrvg3d8ffnbbizsrfppcd2y98znvkgxjdmvbvin458m2rwccka";
+  };
+
+  propagatedBuildInputs = [ numpy scipy imagemagick pillow ];
+
+  meta = with stdenv.lib; {
+    description = "Convert scans of handwritten notes to beautiful, compact PDFs";
+    homepage    = https://mzucker.github.io/2016/09/20/noteshrink.html;
+    license     = licenses.mit;
+    maintainers = with maintainers; [ rnhmjoj ];
+  };
+}