Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 30af8ab720bf
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5720286e47ac
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 13, 2018

  1. noteshrink: init at 0.1.1

    rnhmjoj committed Mar 13, 2018
    Copy the full SHA
    dc1c9fb View commit details

Commits on Mar 17, 2018

  1. Merge pull request #36900 from rnhmjoj/noteshrink

    noteshrink: init at 0.1.1
    nlewo authored Mar 17, 2018
    Copy the full SHA
    5720286 View commit details
Showing with 26 additions and 0 deletions.
  1. +24 −0 pkgs/tools/misc/noteshrink/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
24 changes: 24 additions & 0 deletions pkgs/tools/misc/noteshrink/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1312,6 +1312,8 @@ with pkgs;

nfdump = callPackage ../tools/networking/nfdump { };

noteshrink = callPackage ../tools/misc/noteshrink { };

nrsc5 = callPackage ../applications/misc/nrsc5 { };

onboard = callPackage ../applications/misc/onboard { };