nixpkgs/pkgs/tools/misc/noteshrink/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
655 B
Nix

{ stdenv, 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 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 ];
};
}