summary refs log blame commit diff
path: root/pkgs/tools/misc/noteshrink/default.nix
blob: 67c49c3ad0d5c3b303c6683690078b729a21dc92 (plain) (tree)
1
2
3
4
5
6
                                               



                            
                       










                                                                    
                    
                                                                                  
                                                                         



                                                
{ lib, fetchFromGitHub, python3, imagemagick }:

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 ];

  meta = with 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 ];
  };
}