diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix b/nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix index 12fcf8a71a26..10f8525da084 100644 --- a/nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix +++ b/nixpkgs/pkgs/tools/typesetting/pdfsandwich/default.nix @@ -1,4 +1,4 @@ -{ stdenv, ocaml, makeWrapper, fetchsvn, ghostscript, imagemagick, perl, poppler_utils, tesseract, unpaper }: +{ lib, stdenv, ocaml, makeWrapper, fetchsvn, ghostscript, imagemagick, perl, poppler_utils, tesseract, unpaper }: stdenv.mkDerivation { version = "0.1.7"; @@ -14,13 +14,13 @@ stdenv.mkDerivation { installPhase = '' mkdir -p $out/bin cp -p pdfsandwich $out/bin - wrapProgram $out/bin/pdfsandwich --prefix PATH : ${stdenv.lib.makeBinPath [ imagemagick ghostscript poppler_utils unpaper tesseract ]} + wrapProgram $out/bin/pdfsandwich --prefix PATH : ${lib.makeBinPath [ imagemagick ghostscript poppler_utils unpaper tesseract ]} mkdir -p $out/man/man1 cp -p pdfsandwich.1.gz $out/man/man1 ''; -meta = with stdenv.lib; { +meta = with lib; { description = "OCR tool for scanned PDFs"; homepage = "http://www.tobias-elze.de/pdfsandwich/"; license = licenses.gpl2; |