1 { lib, buildPythonApplication, fetchurl, flit-core, pyspf, dnspython, authres, pymilter }:
3 buildPythonApplication rec {
9 url = "https://launchpad.net/${pname}/${lib.versions.majorMinor version}/${version}/+download/${pname}-${version}.tar.gz";
10 sha256 = "sha256-Gcw7enNIb/TrZEYa0Z04ezHUmfMmc1J+aEH6FlXbhTo=";
13 nativeBuildInputs = [ flit-core ];
15 propagatedBuildInputs = [ pyspf dnspython authres pymilter ];
17 pythonImportsCheck = [
19 "spf_engine.milter_spf"
20 "spf_engine.policyd_spf"
24 homepage = "https://launchpad.net/spf-engine/";
25 description = "Postfix policy engine for Sender Policy Framework (SPF) checking";
26 maintainers = with maintainers; [ abbradar ];
27 license = licenses.asl20;