2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3, imagemagick }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "noteshrink";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mzucker";
|
|
|
|
repo = "noteshrink";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xhrvg3d8ffnbbizsrfppcd2y98znvkgxjdmvbvin458m2rwccka";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy imagemagick pillow ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|