Merge pull request #211641 from dotlambda/paperwork-backend-fix
paperwork: use Levenshtein
This commit is contained in:
commit
84f5f37d7b
2 changed files with 7 additions and 1 deletions
|
@ -39,6 +39,9 @@ buildPythonPackage rec {
|
|||
patchFlags = [ "-p2" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace python-Levenshtein Levenshtein
|
||||
|
||||
echo 'version = "${version}"' > src/paperwork_backend/_version.py
|
||||
chmod a+w -R ..
|
||||
patchShebangs ../tools
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
let
|
||||
documentation_deps = [
|
||||
(texlive.combine {
|
||||
inherit (texlive) scheme-small wrapfig was;
|
||||
inherit (texlive) scheme-small wrapfig gensymb;
|
||||
})
|
||||
xvfb-run
|
||||
imagemagick
|
||||
|
@ -45,6 +45,9 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
# Patch out a few paths that assume that we're using the FHS:
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace python-Levenshtein Levenshtein
|
||||
|
||||
chmod a+w -R ..
|
||||
patchShebangs ../tools
|
||||
|
||||
|
|
Loading…
Reference in a new issue