8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "helsinki-systems";
16 hash = "sha256-tkCHP3B1sBb0+scHBjX5lCvaeSrZryfaGKye02LFlYs=";
19 nativeBuildInputs = [ autoreconfHook ];
23 # disable static bins compilation
25 -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
26 -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
27 -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
28 -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am
31 CFLAGS = "-Wno-error=implicit-function-declaration";
37 "Implementation of the Sender Policy Framework for SMTP " + "authorization (Helsinki Systems fork)";
38 homepage = "https://github.com/helsinki-systems/libspf2";
39 license = with licenses; [
43 maintainers = with maintainers; [ euxane ] ++ teams.helsinki-systems.members;
44 platforms = platforms.all;