1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/misc/noteshrink/default.nix

25 lines
657 B
Nix
Raw Normal View History

2018-03-13 08:08:18 +00:00
{ stdenv, fetchFromGitHub, python3, imagemagick }:
with python3.pkgs;
buildPythonApplication rec {
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 ];
meta = with stdenv.lib; {
description = "Convert scans of handwritten notes to beautiful, compact PDFs";
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 ];
};
}