pdfminer: fix missing package version
This commit is contained in:
parent
3bcfdb0e15
commit
7076d82805
|
@ -21,6 +21,12 @@ buildPythonPackage rec {
|
||||||
done
|
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 ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue