From 7301fd9af576a48b28edd6f55f0c86321d0e8874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Sat, 29 Apr 2023 01:46:48 +0200 Subject: [PATCH] spf-engine: 2.9.3 -> 3.0.4 --- pkgs/servers/mail/spf-engine/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/mail/spf-engine/default.nix b/pkgs/servers/mail/spf-engine/default.nix index 0f2e98582514..c90522edf041 100644 --- a/pkgs/servers/mail/spf-engine/default.nix +++ b/pkgs/servers/mail/spf-engine/default.nix @@ -2,11 +2,12 @@ buildPythonApplication rec { pname = "spf-engine"; - version = "2.9.3"; + version = "3.0.4"; + format = "flit"; src = fetchurl { url = "https://launchpad.net/${pname}/${lib.versions.majorMinor version}/${version}/+download/${pname}-${version}.tar.gz"; - sha256 = "sha256-w0Nb+L/Os3KPApENoylxCVaCD4FvgmvpfVvwCkt2IDE="; + sha256 = "sha256-Gcw7enNIb/TrZEYa0Z04ezHUmfMmc1J+aEH6FlXbhTo="; }; propagatedBuildInputs = [ pyspf dnspython authres pymilter ]; @@ -17,10 +18,6 @@ buildPythonApplication rec { "spf_engine.policyd_spf" ]; - postPatch = '' - substituteInPlace setup.py --replace "'/etc'" "'$out/etc'" - ''; - meta = with lib; { homepage = "https://launchpad.net/spf-engine/"; description = "Postfix policy engine for Sender Policy Framework (SPF) checking";