mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
pythonPackages.pdf2image: init at 0.1.13 (#41741)
This commit is contained in:
parent
b4c38a5174
commit
a176f5e702
2 changed files with 23 additions and 0 deletions
21
pkgs/development/python-modules/pdf2image/default.nix
Normal file
21
pkgs/development/python-modules/pdf2image/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pdf2image";
|
||||
version = "0.1.13";
|
||||
|
||||
buildInputs = [ pillow poppler_utils ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "784928038588059e00c7f97e5608047cb754b6ec8fd10e7551e7ad0f40d2cd56";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object";
|
||||
homepage = https://github.com/Belval/pdf2image;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -319,6 +319,8 @@ in {
|
|||
|
||||
outcome = callPackage ../development/python-modules/outcome {};
|
||||
|
||||
pdf2image = callPackage ../development/python-modules/pdf2image { };
|
||||
|
||||
pdfminer = callPackage ../development/python-modules/pdfminer_six { };
|
||||
|
||||
plantuml = callPackage ../tools/misc/plantuml { };
|
||||
|
|
Loading…
Reference in a new issue