pdfminer: fix missing package version
This commit is contained in:
parent
3bcfdb0e15
commit
7076d82805
@ -21,6 +21,12 @@ buildPythonPackage rec {
|
||||
done
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
# Verion is not stored in repo, gets added by a GitHub action after tag is created
|
||||
# https://github.com/pdfminer/pdfminer.six/pull/727
|
||||
substituteInPlace pdfminer/__init__.py --replace "__VERSION__" ${version}
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user