btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / no / noteshrink / package.nix
blob4c76c332645fa06617d911950d8dfc7a9dae1b90
1 { lib, fetchFromGitHub, python3, imagemagick }:
3 with python3.pkgs;
5 buildPythonApplication rec {
6   pname = "noteshrink";
7   version = "0.1.1";
9   src = fetchFromGitHub {
10     owner  = "mzucker";
11     repo   = "noteshrink";
12     rev    = version;
13     sha256 = "0xhrvg3d8ffnbbizsrfppcd2y98znvkgxjdmvbvin458m2rwccka";
14   };
16   propagatedBuildInputs = [ numpy scipy imagemagick pillow ];
18   meta = with lib; {
19     description = "Convert scans of handwritten notes to beautiful, compact PDFs";
20     homepage    = "https://mzucker.github.io/2016/09/20/noteshrink.html";
21     license     = licenses.mit;
22     maintainers = with maintainers; [ rnhmjoj ];
23     mainProgram = "noteshrink";
24   };