forked from mirrors/nixpkgs
dafbcb986a
This reverts commit e3f9c4d790
.
This fixes #72791.
Version 2.0.13 of pyspf introduced a bug where some incoming mails can cause a
crash and be falsely rejected. (https://github.com/sdgathman/pyspf/issues/17)
21 lines
540 B
Nix
21 lines
540 B
Nix
{ lib, buildPythonPackage, fetchPypi, pydns }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyspf";
|
|
version = "2.0.12"; # version 2.0.13 should not be used, see #72791
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pydns ];
|
|
|
|
meta = with lib; {
|
|
homepage = http://bmsi.com/python/milter.html;
|
|
description = "Python API for Sendmail Milters (SPF)";
|
|
maintainers = with maintainers; [ abbradar ];
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|