mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
spf-engine: switch to pypaBuildHook
This commit is contained in:
parent
f9f04e7728
commit
3a2a8ad856
@ -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 New Issue
Block a user