python311Packages.fpdf2 0 -> 1 attrpath: python311Packages.fpdf2 Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/06fiw887kbwd6flh4k27ipgb1x4c0k4a-packages.json.drv building '/nix/store/06fiw887kbwd6flh4k27ipgb1x4c0k4a-packages.json.drv'... Going to be running update for following packages: - python3.11-fpdf2-2.7.7 Press Enter key to continue... Running update for: - python3.11-fpdf2-2.7.7: UPDATING ... - python3.11-fpdf2-2.7.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/fpdf2/default.nix b/pkgs/development/python-modules/fpdf2/default.nix index 292478ea2557..fdd43f1ca5c8 100644 --- a/pkgs/development/python-modules/fpdf2/default.nix +++ b/pkgs/development/python-modules/fpdf2/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "fpdf2"; - version = "2.7.7"; + version = "2.7.8"; pyproject = true; src = fetchFromGitHub { owner = "py-pdf"; repo = "fpdf2"; - rev = version; - hash = "sha256-6B68kwxAW3cHpwMTDhj3C4zEOR6o6USqpSXB7uxcEXs="; + rev = "refs/tags/${version}"; + hash = "sha256-6aedXr8Yhes1aYIslBvw2HzRc4BwYDIiGJvEdp1tFSc="; }; postPatch = '' No auto update branch exists Old version 2.7.7" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , setuptools , defusedxml , pillow , fonttools , pytestCheckHook , qrcode , camelot , uharfbuzz , lxml }: buildPythonPackage rec { pname = "fpdf2"; version = "2.7.8"; pyproject = true; src = fetchFromGitHub { owner = "py-pdf"; repo = "fpdf2"; rev = "refs/tags/${version}"; hash = "sha256-6aedXr8Yhes1aYIslBvw2HzRc4BwYDIiGJvEdp1tFSc="; }; postPatch = '' substituteInPlace setup.cfg \ --replace-fail "--cov=fpdf --cov-report=xml" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ defusedxml pillow fonttools ]; nativeCheckInputs = [ pytestCheckHook qrcode camelot uharfbuzz lxml ]; disabledTestPaths = [ "test/table/test_table_extraction.py" # tabula-py not packaged yet "test/signing/test_sign.py" # endesive not packaged yet ]; disabledTests = [ "test_png_url" # tries to download file "test_page_background" # tries to download file "test_share_images_cache" # uses timing functions ]; meta = { homepage = "https://github.com/py-pdf/fpdf2"; description = "Simple PDF generation for Python"; changelog = "https://github.com/py-pdf/fpdf2/blob/${version}/CHANGELOG.md"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ jfvillablanca ]; }; }