diff options
author | lewo <lewo@abesis.fr> | 2018-03-17 20:32:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 20:32:37 +0100 |
commit | 5720286e47acac997d25f699def4c16644af84ba (patch) | |
tree | e36ce42112859a83f8ef70f0b870015bb23f6d4f /pkgs/tools | |
parent | 30af8ab720bf7ec662a1efc3514004b6db8ea3ea (diff) | |
parent | dc1c9fb2512070ecf795efe6731ac1c62399067a (diff) | |
download | nixlib-5720286e47acac997d25f699def4c16644af84ba.tar nixlib-5720286e47acac997d25f699def4c16644af84ba.tar.gz nixlib-5720286e47acac997d25f699def4c16644af84ba.tar.bz2 nixlib-5720286e47acac997d25f699def4c16644af84ba.tar.lz nixlib-5720286e47acac997d25f699def4c16644af84ba.tar.xz nixlib-5720286e47acac997d25f699def4c16644af84ba.tar.zst nixlib-5720286e47acac997d25f699def4c16644af84ba.zip |
Merge pull request #36900 from rnhmjoj/noteshrink
noteshrink: init at 0.1.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/noteshrink/default.nix | 24 |
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 ]; + }; +} |