Merge pull request #36900 from rnhmjoj/noteshrink

noteshrink: init at 0.1.1
This commit is contained in:
lewo 2018-03-17 20:32:37 +01:00 committed by GitHub
commit 5720286e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

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

View File

@ -1312,6 +1312,8 @@ with pkgs;
nfdump = callPackage ../tools/networking/nfdump { }; nfdump = callPackage ../tools/networking/nfdump { };
noteshrink = callPackage ../tools/misc/noteshrink { };
nrsc5 = callPackage ../applications/misc/nrsc5 { }; nrsc5 = callPackage ../applications/misc/nrsc5 { };
onboard = callPackage ../applications/misc/onboard { }; onboard = callPackage ../applications/misc/onboard { };