Merge pull request #88024 from marsam/update-pdfminer
pythonPackages.pdfminer: 20200402 -> 20200517
This commit is contained in:
commit
71c33d9a35
2 changed files with 5 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k, pycryptodome, chardet, nose, sortedcontainers, fetchpatch }:
|
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k, pycryptodome, chardet, nose, sortedcontainers }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pdfminer_six";
|
pname = "pdfminer_six";
|
||||||
version = "20200402";
|
version = "20200517";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
@ -11,18 +11,9 @@ buildPythonPackage rec {
|
||||||
owner = "pdfminer";
|
owner = "pdfminer";
|
||||||
repo = "pdfminer.six";
|
repo = "pdfminer.six";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1wl64r3ifpwi7mm5pcxc0ji7w380nxcq3zrv66n95lglm4zqkf26";
|
sha256 = "00272pxkh6djm37yvlvgd06w7ycf35srwk6n3p58ppw5hgmpkhc2";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Add shebang line to scripts. See: https://github.com/pdfminer/pdfminer.six/pull/408
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/pdfminer/pdfminer.six/commit/0c2f44b6de064d9a3cea99bde5b8e9c6a525a69c.patch";
|
|
||||||
sha256 = "1vml66grnvg4g26mya24kiyxsz809d4mr7wz8qmawjbn4ss65y21";
|
|
||||||
excludes = [ "CHANGELOG.md" ];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ chardet pycryptodome sortedcontainers ];
|
propagatedBuildInputs = [ chardet pycryptodome sortedcontainers ];
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
checkInputs = [ nose ];
|
||||||
|
@ -37,4 +28,3 @@ buildPythonPackage rec {
|
||||||
maintainers = with maintainers; [ psyanticy marsam ];
|
maintainers = with maintainers; [ psyanticy marsam ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5882,6 +5882,8 @@ in
|
||||||
|
|
||||||
fmodex = callPackage ../games/zandronum/fmod.nix { };
|
fmodex = callPackage ../games/zandronum/fmod.nix { };
|
||||||
|
|
||||||
|
pdfminer = with python3Packages; toPythonApplication pdfminer;
|
||||||
|
|
||||||
pdfmod = callPackage ../applications/misc/pdfmod { };
|
pdfmod = callPackage ../applications/misc/pdfmod { };
|
||||||
|
|
||||||
pdf-quench = callPackage ../applications/misc/pdf-quench { };
|
pdf-quench = callPackage ../applications/misc/pdf-quench { };
|
||||||
|
|
Loading…
Reference in a new issue