spf-engine: switch to pypaBuildHook
This commit is contained in:
parent
f9f04e7728
commit
3a2a8ad856
1 changed files with 4 additions and 2 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue