From 96e85f3113638eeafc0c103af7122736641432e1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 14 Jul 2026 12:55:51 +0200 Subject: [PATCH] dmarc-metrics-exporter: unpin python312 --- .../dm/dmarc-metrics-exporter/package.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/dm/dmarc-metrics-exporter/package.nix b/pkgs/by-name/dm/dmarc-metrics-exporter/package.nix index fa9419037b81..feda0b20daeb 100644 --- a/pkgs/by-name/dm/dmarc-metrics-exporter/package.nix +++ b/pkgs/by-name/dm/dmarc-metrics-exporter/package.nix @@ -1,16 +1,11 @@ { lib, stdenv, - python312, + python3Packages, fetchFromGitHub, }: -let - # more-itertools unsupported on 3.13 - python3 = python312; -in - -python3.pkgs.buildPythonApplication (finalAttrs: { +python3Packages.buildPythonApplication (finalAttrs: { pname = "dmarc-metrics-exporter"; version = "1.3.1"; @@ -25,15 +20,14 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pythonRelaxDeps = true; - build-system = with python3.pkgs; [ + build-system = with python3Packages; [ poetry-core ]; dependencies = - with python3.pkgs; + with python3Packages; [ bite-parser - dataclasses-serialization prometheus-client pydantic structlog @@ -42,7 +36,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ] ++ uvicorn.optional-dependencies.standard; - nativeCheckInputs = with python3.pkgs; [ + nativeCheckInputs = with python3Packages; [ aiohttp pytest-asyncio pytestCheckHook