spf-engine: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:51:32 +02:00
parent f9f04e7728
commit 3a2a8ad856

View File

@ -1,15 +1,17 @@
{ lib, buildPythonApplication, fetchurl, pyspf, dnspython, authres, pymilter }:
{ lib, buildPythonApplication, fetchurl, flit-core, pyspf, dnspython, authres, pymilter }:
buildPythonApplication rec {
pname = "spf-engine";
version = "3.0.4";
format = "flit";
format = "pyproject";
src = fetchurl {
url = "https://launchpad.net/${pname}/${lib.versions.majorMinor version}/${version}/+download/${pname}-${version}.tar.gz";
sha256 = "sha256-Gcw7enNIb/TrZEYa0Z04ezHUmfMmc1J+aEH6FlXbhTo=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ pyspf dnspython authres pymilter ];
pythonImportsCheck = [