dmarc-metrics-exporter: 0.6.1 -> 0.8.0

ChangeLogs:
* https://github.com/jgosmann/dmarc-metrics-exporter/releases/tag/v0.7.0
* https://github.com/jgosmann/dmarc-metrics-exporter/releases/tag/v0.8.0

Co-authored-by: Artémis <git@artemix.org>
This commit is contained in:
Maximilian Bosch 2022-12-19 22:34:17 +01:00
parent 29ad89a851
commit 8ec25c79d3
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -1,28 +1,28 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "dmarc-metrics-exporter";
version = "0.6.1";
version = "0.8.0";
disabled = python3.pythonOlder "3.7";
format = "pyproject";
src = python3.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-VYmSHDde3zLq7NcsX7xp1JYe6x6RKFEravpakIzW390=";
src = fetchFromGitHub {
owner = "jgosmann";
repo = "dmarc-metrics-exporter";
rev = "v${version}";
hash = "sha256-uZCPEUoWNrcSz5qV24eFdZOOxKkoz+Qn6HpELBwOK2I=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'uvicorn = {extras = ["standard"], version = "^0.15.0"}' 'uvicorn = {version = "^0.15.0"}' \
--replace '"^' '">='
'';
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [