mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
python312Packages.pdfx: drop (#346568)
This commit is contained in:
commit
b678cb3b5a
3 changed files with 1 additions and 44 deletions
|
@ -1,42 +0,0 @@
|
||||||
{
|
|
||||||
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 = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -387,6 +387,7 @@ mapAliases ({
|
||||||
pcbnew-transition = pcbnewtransition; # added 2024-03-21
|
pcbnew-transition = pcbnewtransition; # added 2024-03-21
|
||||||
pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29
|
pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29
|
||||||
pdfminer = pdfminer-six; # added 2022-05-25
|
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
|
pep257 = pydocstyle; # added 2022-04-12
|
||||||
pixelmatch = "pixelmatch has been removed as it was unmaintained"; # Added 2024-08-18
|
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
|
pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28
|
||||||
|
|
|
@ -9776,8 +9776,6 @@ self: super: with self; {
|
||||||
|
|
||||||
pdftotext = callPackage ../development/python-modules/pdftotext { };
|
pdftotext = callPackage ../development/python-modules/pdftotext { };
|
||||||
|
|
||||||
pdfx = callPackage ../development/python-modules/pdfx { };
|
|
||||||
|
|
||||||
pdm-backend = callPackage ../development/python-modules/pdm-backend { };
|
pdm-backend = callPackage ../development/python-modules/pdm-backend { };
|
||||||
|
|
||||||
pdm-build-locked = callPackage ../development/python-modules/pdm-build-locked { };
|
pdm-build-locked = callPackage ../development/python-modules/pdm-build-locked { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue