diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-07-25 10:19:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 10:19:32 +0200 |
commit | bbe75628ca71378a02891bb5f5ecb769832da3bf (patch) | |
tree | 340a75e1e9b0128c64386b05ed62ed336f870bf3 /pkgs/servers | |
parent | 63fdfd7d0e3c4d1dd62728457aafd2d63ad4e727 (diff) | |
parent | 13981cabc607b7cf72e7891ae613a6072d229684 (diff) |
Merge pull request #182692 from mweinelt/uvicorn
[staging-next] More python fixes
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix index 2ec89972a65af..46e81508b4d2b 100644 --- a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix @@ -4,7 +4,7 @@ python3.pkgs.buildPythonApplication rec { pname = "dmarc-metrics-exporter"; - version = "0.6.0"; + version = "0.6.1"; disabled = python3.pythonOlder "3.7"; @@ -12,11 +12,12 @@ python3.pkgs.buildPythonApplication rec { src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "70f39b373ead42acb8caf56040f7ebf13ab67aea505511025c09ecf4560f8b1b"; + hash = "sha256-VYmSHDde3zLq7NcsX7xp1JYe6x6RKFEravpakIzW390="; }; postPatch = '' substituteInPlace pyproject.toml \ + --replace 'uvicorn = {extras = ["standard"], version = "^0.15.0"}' 'uvicorn = {version = "^0.15.0"}' \ --replace '"^' '">=' ''; @@ -31,7 +32,8 @@ python3.pkgs.buildPythonApplication rec { typing-extensions uvicorn xsdata - ]; + ] + ++ uvicorn.optional-dependencies.standard; checkInputs = with python3.pkgs; [ aiohttp |