mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #286870 from dotlambda/fpdf2-2.7.7
python311Packages.fpdf2: 2.7.6 -> 2.7.7
This commit is contained in:
commit
b6a5019c69
1 changed files with 5 additions and 3 deletions
|
@ -12,23 +12,24 @@
|
|||
, qrcode
|
||||
, camelot
|
||||
, uharfbuzz
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fpdf2";
|
||||
version = "2.7.6";
|
||||
version = "2.7.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "py-pdf";
|
||||
repo = "fpdf2";
|
||||
rev = version;
|
||||
hash = "sha256-wiCKmS+GlrYV2/6TEdXUbmWIMWU4hyzswFJZR9EOWxc=";
|
||||
hash = "sha256-6B68kwxAW3cHpwMTDhj3C4zEOR6o6USqpSXB7uxcEXs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=fpdf --cov-report=xml" ""
|
||||
--replace-fail "--cov=fpdf --cov-report=xml" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -44,6 +45,7 @@ buildPythonPackage rec {
|
|||
qrcode
|
||||
camelot
|
||||
uharfbuzz
|
||||
lxml
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
|
Loading…
Reference in a new issue