2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3, imagemagick }:
|
2018-03-13 08:08:18 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "noteshrink";
|
2018-03-13 08:08:18 +00:00
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mzucker";
|
|
|
|
repo = "noteshrink";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xhrvg3d8ffnbbizsrfppcd2y98znvkgxjdmvbvin458m2rwccka";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy imagemagick pillow ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-13 08:08:18 +00:00
|
|
|
description = "Convert scans of handwritten notes to beautiful, compact PDFs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://mzucker.github.io/2016/09/20/noteshrink.html";
|
2018-03-13 08:08:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
|
|
};
|
|
|
|
}
|