summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-03-19 20:31:37 -0500
committerGitHub <noreply@github.com>2022-03-19 20:31:37 -0500
commit859c4a61a3d1cc8b32e535c0a8437532a340d1a4 (patch)
tree7a73e90cc4e81e14cc4f3bbe08ced7f30399edb6 /pkgs/development
parent9c9cef99ab299e5ba30f080be54f79f05a49ef0c (diff)
parentb1f4979d52c4a2a958a947428c3b801152b94b74 (diff)
downloadnixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar.gz
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar.bz2
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar.lz
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar.xz
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.tar.zst
nixpkgs-859c4a61a3d1cc8b32e535c0a8437532a340d1a4.zip
Merge pull request #164911 from marsam/update-pdfminer
pdfminer: 20201018 -> 20220319
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pdfminer_six/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pdfminer_six/default.nix b/pkgs/development/python-modules/pdfminer_six/default.nix
index 725fb9ab9f9..6d2b0adcf41 100644
--- a/pkgs/development/python-modules/pdfminer_six/default.nix
+++ b/pkgs/development/python-modules/pdfminer_six/default.nix
@@ -1,8 +1,8 @@
-{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, cryptography, chardet, nose, sortedcontainers }:
+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, cryptography, chardet, pytestCheckHook }:
 
 buildPythonPackage rec {
   pname = "pdfminer_six";
-  version = "20201018";
+  version = "20220319";
 
   disabled = !isPy3k;
 
@@ -10,10 +10,10 @@ buildPythonPackage rec {
     owner = "pdfminer";
     repo = "pdfminer.six";
     rev = version;
-    sha256 = "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr";
+    sha256 = "sha256-sjO7jmHSe4EDmJ1rfiXx+lsHxc+DfKeMet37Nbg03WQ=";
   };
 
-  propagatedBuildInputs = [ chardet cryptography sortedcontainers ];
+  propagatedBuildInputs = [ chardet cryptography ];
 
   postInstall = ''
     for file in $out/bin/*.py; do
@@ -21,10 +21,7 @@ buildPythonPackage rec {
     done
   '';
 
-  checkInputs = [ nose ];
-  checkPhase = ''
-    nosetests
-  '';
+  checkInputs = [ pytestCheckHook ];
 
   meta = with lib; {
     description = "PDF parser and analyzer";