nixpkgs/pkgs/development/python-modules/pdfkit/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
542 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pdfkit";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "992f821e1e18fc8a0e701ecae24b51a2d598296a180caee0a24c0af181da02a9";
};
# tests are not distributed
doCheck = false;
meta = with lib; {
homepage = "https://pypi.python.org/pypi/pdfkit";
description = "Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt";
license = licenses.mit;
};
}