python3Packages.karton-dashboard: update substituteInPlace
This commit is contained in:
parent
0072b15245
commit
e8124f65e6
|
@ -5,6 +5,7 @@
|
|||
, karton-core
|
||||
, mistune
|
||||
, prometheus-client
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,6 +13,8 @@ buildPythonPackage rec {
|
|||
version = "1.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CERT-Polska";
|
||||
repo = pname;
|
||||
|
@ -29,7 +32,7 @@ buildPythonPackage rec {
|
|||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "Flask==1.1.1" "Flask" \
|
||||
--replace "prometheus-client==0.10.0" "prometheus-client"
|
||||
--replace "prometheus_client==0.11.0" "prometheus_client"
|
||||
'';
|
||||
|
||||
# Project has no tests. pythonImportsCheck requires MinIO configuration
|
||||
|
|
Loading…
Reference in a new issue