lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.pdfminer: 20220524 -> 20221105

https://github.com/pdfminer/pdfminer.six/releases/tag/20221105

+17 -6
+17 -6
pkgs/development/python-modules/pdfminer-six/default.nix
··· 4 4 , isPy3k 5 5 , cryptography 6 6 , charset-normalizer 7 + , pythonOlder 8 + , typing-extensions 7 9 , pytestCheckHook 8 10 , ocrmypdf 9 11 }: 10 12 11 13 buildPythonPackage rec { 12 14 pname = "pdfminer-six"; 13 - version = "20220524"; 15 + version = "20221105"; 16 + format = "setuptools"; 14 17 15 18 disabled = !isPy3k; 16 19 ··· 18 21 owner = "pdfminer"; 19 22 repo = "pdfminer.six"; 20 23 rev = version; 21 - sha256 = "sha256-XO9sdHeS/8MgVW0mxbTe2AY5BDfnBSDNzZwLsSKmQh0="; 24 + sha256 = "sha256-OyEeQBuYfj4iEcRt2/daSaUfTOjCVSCyHW2qffal+Bk="; 22 25 }; 23 26 24 - propagatedBuildInputs = [ charset-normalizer cryptography ]; 27 + propagatedBuildInputs = [ 28 + charset-normalizer 29 + cryptography 30 + ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 25 31 26 32 postInstall = '' 27 33 for file in $out/bin/*.py; do ··· 30 36 ''; 31 37 32 38 postPatch = '' 33 - # Verion is not stored in repo, gets added by a GitHub action after tag is created 39 + # Version is not stored in repo, gets added by a GitHub action after tag is created 34 40 # https://github.com/pdfminer/pdfminer.six/pull/727 35 41 substituteInPlace pdfminer/__init__.py --replace "__VERSION__" ${version} 36 42 ''; 37 43 38 - pythonImportsCheck = [ "pdfminer" ]; 44 + pythonImportsCheck = [ 45 + "pdfminer" 46 + "pdfminer.high_level" 47 + ]; 39 48 40 - checkInputs = [ pytestCheckHook ]; 49 + checkInputs = [ 50 + pytestCheckHook 51 + ]; 41 52 42 53 passthru = { 43 54 tests = {