mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
02dab4ab5c
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
26 lines
542 B
Nix
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;
|
|
};
|
|
|
|
}
|