mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #211641 from dotlambda/paperwork-backend-fix
paperwork: use Levenshtein
This commit is contained in:
commit
84f5f37d7b
@ -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 New Issue
Block a user