Loading pkgs/development/python-modules/pdfx/default.nixdeleted 100644 → 0 +0 −42 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pdfminer-six, chardet, pytestCheckHook, }: buildPythonPackage rec { pname = "pdfx"; version = "1.4.1"; format = "setuptools"; src = fetchFromGitHub { owner = "metachris"; repo = "pdfx"; rev = "v${version}"; hash = "sha256-POpP6XwcqwvImrtIiDjpnHoNE0MKapuPjxojo+ocBK0="; }; postPatch = '' substituteInPlace requirements.txt \ --replace "chardet==4.0.0" "chardet" \ --replace "pdfminer.six==20201018" "pdfminer.six" ''; propagatedBuildInputs = [ pdfminer-six chardet ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { inherit (src.meta) homepage; description = "Extract references (pdf, url, doi, arxiv) and metadata from a PDF"; mainProgram = "pdfx"; license = licenses.asl20; maintainers = [ ]; }; } pkgs/top-level/python-aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,7 @@ mapAliases ({ pcbnew-transition = pcbnewtransition; # added 2024-03-21 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 pdfminer = pdfminer-six; # added 2022-05-25 pdfx = throw "pdfx has been removed because the upstream repository was archived in 2023"; # Added 2024-10-04 pep257 = pydocstyle; # added 2022-04-12 pixelmatch = "pixelmatch has been removed as it was unmaintained"; # Added 2024-08-18 pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28 Loading pkgs/top-level/python-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -9776,8 +9776,6 @@ self: super: with self; { pdftotext = callPackage ../development/python-modules/pdftotext { }; pdfx = callPackage ../development/python-modules/pdfx { }; pdm-backend = callPackage ../development/python-modules/pdm-backend { }; pdm-build-locked = callPackage ../development/python-modules/pdm-build-locked { }; Loading Loading
pkgs/development/python-modules/pdfx/default.nixdeleted 100644 → 0 +0 −42 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pdfminer-six, chardet, pytestCheckHook, }: buildPythonPackage rec { pname = "pdfx"; version = "1.4.1"; format = "setuptools"; src = fetchFromGitHub { owner = "metachris"; repo = "pdfx"; rev = "v${version}"; hash = "sha256-POpP6XwcqwvImrtIiDjpnHoNE0MKapuPjxojo+ocBK0="; }; postPatch = '' substituteInPlace requirements.txt \ --replace "chardet==4.0.0" "chardet" \ --replace "pdfminer.six==20201018" "pdfminer.six" ''; propagatedBuildInputs = [ pdfminer-six chardet ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { inherit (src.meta) homepage; description = "Extract references (pdf, url, doi, arxiv) and metadata from a PDF"; mainProgram = "pdfx"; license = licenses.asl20; maintainers = [ ]; }; }
pkgs/top-level/python-aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,7 @@ mapAliases ({ pcbnew-transition = pcbnewtransition; # added 2024-03-21 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 pdfminer = pdfminer-six; # added 2022-05-25 pdfx = throw "pdfx has been removed because the upstream repository was archived in 2023"; # Added 2024-10-04 pep257 = pydocstyle; # added 2022-04-12 pixelmatch = "pixelmatch has been removed as it was unmaintained"; # Added 2024-08-18 pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28 Loading
pkgs/top-level/python-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -9776,8 +9776,6 @@ self: super: with self; { pdftotext = callPackage ../development/python-modules/pdftotext { }; pdfx = callPackage ../development/python-modules/pdfx { }; pdm-backend = callPackage ../development/python-modules/pdm-backend { }; pdm-build-locked = callPackage ../development/python-modules/pdm-build-locked { }; Loading