python3Packages.karton-dashboard: fix build

This commit is contained in:
Fabian Affolter
2021-11-30 18:52:54 -08:00
committed by Jonathan Ringer
parent 63185324b9
commit a851789de9
@@ -10,6 +10,7 @@
buildPythonPackage rec {
pname = "karton-dashboard";
version = "1.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "CERT-Polska";
@@ -28,7 +29,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "Flask==1.1.1" "Flask" \
--replace "prometheus-client==0.9.0" "prometheus-client"
--replace "prometheus-client==0.10.0" "prometheus-client"
'';
# Project has no tests. pythonImportsCheck requires MinIO configuration