pdfding: 1.10.0 -> 1.11.0

Diff: https://github.com/mrmn2/PdfDing/compare/v1.10.0...v1.11.0
Changelog: https://github.com/mrmn2/PdfDing/releases/tag/v1.11.0

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
(cherry picked from commit 8c58aab60b)
This commit is contained in:
phanirithvij
2026-07-27 10:13:29 +05:30
parent eaefca99e9
commit f355a035fd
2 changed files with 7 additions and 6 deletions

View File

@@ -8,8 +8,8 @@
pdfding,
}:
let
pdfjsVersion = "5.5.207"; # see update script
pdfjsHash = "sha256-HikisEa6L+BqsG6imgWhV+4J46BluU5zqU1nFZAG0eM=";
pdfjsVersion = "6.1.200"; # see update script
pdfjsHash = "sha256-8hByPf4BXTXakRxomXtknthlCLcjG/pCLVnjMxqrROI=";
pdfjs = fetchzip {
url = "https://github.com/mozilla/pdf.js/releases/download/v${pdfjsVersion}/pdfjs-${pdfjsVersion}-dist.zip";
hash = pdfjsHash;

View File

@@ -12,22 +12,21 @@ let
in
python.pkgs.buildPythonPackage (finalAttrs: {
pname = "pdfding";
version = "1.10.0";
version = "1.11.0";
src = fetchFromGitHub {
owner = "mrmn2";
repo = "PdfDing";
tag = "v${finalAttrs.version}";
hash = "sha256-C1osj8V9+z3ahl4+zUtyI22GMtSgNLzfdGttL7gPDvY=";
hash = "sha256-9gvuU/u8J717Zo7p35kUHX+VNY+c2Ex6vRwMpYr864U=";
};
pyproject = true;
strictDeps = true;
__structuredAttrs = true;
# remove supervisor from dependencies and fix version
# remove supervisor from dependencies, we use systemd
postPatch = ''
sed -i 's/supervisor.*$//' pyproject.toml
sed -i 's/^version = .*$/version = "${finalAttrs.version}"/' pyproject.toml
'';
dependencies =
@@ -66,6 +65,7 @@ python.pkgs.buildPythonPackage (finalAttrs: {
nativeBuildInputs = [
makeWrapper
python.pkgs.pyprojectVersionPatchHook
];
optional-dependencies = {
@@ -132,6 +132,7 @@ python.pkgs.buildPythonPackage (finalAttrs: {
"''${makeWrapperArgs[@]}"
'';
# NOTE: don't undo relaxing of any of these, they are bound to break again
pythonRelaxDeps = [
"django"
"django-allauth"