img2pdf: make a python package
This commit is contained in:
parent
ba4f0c63e4
commit
293d7c3933
@ -1,10 +1,9 @@
|
||||
{ stdenv, python3Packages }:
|
||||
{ lib, pillow, fetchPypi, buildPythonPackage, isPy27 }:
|
||||
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "img2pdf";
|
||||
version = "0.3.6";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -15,7 +14,7 @@ buildPythonApplication rec {
|
||||
pillow
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Convert images to PDF via direct JPEG inclusion";
|
||||
homepage = "https://gitlab.mister-muffin.de/josch/img2pdf";
|
||||
license = licenses.lgpl2;
|
@ -20590,7 +20590,7 @@ in
|
||||
|
||||
inherit (nodePackages) imapnotify;
|
||||
|
||||
img2pdf = callPackage ../applications/misc/img2pdf { };
|
||||
img2pdf = with python3Packages; toPythonApplication img2pdf;
|
||||
|
||||
imgcat = callPackage ../applications/graphics/imgcat { };
|
||||
|
||||
|
@ -2433,6 +2433,8 @@ in {
|
||||
|
||||
impacket = callPackage ../development/python-modules/impacket { };
|
||||
|
||||
img2pdf = callPackage ../development/python-modules/img2pdf { };
|
||||
|
||||
jsonlines = callPackage ../development/python-modules/jsonlines { };
|
||||
|
||||
json-merge-patch = callPackage ../development/python-modules/json-merge-patch { };
|
||||
|
Loading…
Reference in New Issue
Block a user