spf-engine: 2.9.3 -> 3.0.4

This commit is contained in:
Benno Fünfstück 2023-04-29 01:46:48 +02:00
parent 20801cdc69
commit 7301fd9af5

View file

@ -2,11 +2,12 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "spf-engine"; pname = "spf-engine";
version = "2.9.3"; version = "3.0.4";
format = "flit";
src = fetchurl { src = fetchurl {
url = "https://launchpad.net/${pname}/${lib.versions.majorMinor version}/${version}/+download/${pname}-${version}.tar.gz"; 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 ]; propagatedBuildInputs = [ pyspf dnspython authres pymilter ];
@ -17,10 +18,6 @@ buildPythonApplication rec {
"spf_engine.policyd_spf" "spf_engine.policyd_spf"
]; ];
postPatch = ''
substituteInPlace setup.py --replace "'/etc'" "'$out/etc'"
'';
meta = with lib; { meta = with lib; {
homepage = "https://launchpad.net/spf-engine/"; homepage = "https://launchpad.net/spf-engine/";
description = "Postfix policy engine for Sender Policy Framework (SPF) checking"; description = "Postfix policy engine for Sender Policy Framework (SPF) checking";