mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
29 lines
641 B
Nix
29 lines
641 B
Nix
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27, pikepdf }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "img2pdf";
|
|
version = "0.4.1";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-OKEinKhLIR13gtHWWtclGpeBvyT29kl8c4x1X8/tVVI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pikepdf
|
|
pillow
|
|
];
|
|
|
|
# no tests exectuted
|
|
doCheck = false;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|