python3Packages.graphite-web: fix build

This commit is contained in:
Robert Schütz 2021-05-06 15:32:55 +02:00
parent 39e6bf7647
commit 955cf497ad

View file

@ -28,6 +28,12 @@ buildPythonPackage rec {
./update-django-tagging.patch
];
postPatch = ''
# https://github.com/graphite-project/graphite-web/pull/2701
substituteInPlace setup.py \
--replace "'scandir'" "'scandir; python_version < \"3.5\"'"
'';
propagatedBuildInputs = [
django
memcached