about summary refs log tree commit diff
path: root/pkgs/applications/misc/img2pdf/default.nix
blob: 9b6ac086efdf55ec77390920ba23f5bb1ad759b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, python3Packages }:

with python3Packages;

buildPythonApplication rec {
  pname = "img2pdf";
  version = "0.3.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "071s3gf28nb8ifxkix7dzjny6vib7791mnp0v3f4zagcjcic22a4";
  };

  doCheck = false; # needs pdfrw

  propagatedBuildInputs = [
    pillow
  ];

  meta = with stdenv.lib; {
    description = "Convert images to PDF via direct JPEG inclusion";
    homepage = https://gitlab.mister-muffin.de/josch/img2pdf;
    license = licenses.lgpl2;
    platforms = platforms.unix;
    maintainers = [ maintainers.veprbl ];
  };
}