nixpkgs-suyu/pkgs/development/python-modules/pyspf/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
644 B
Nix

{ lib, python, buildPythonPackage, fetchFromGitHub, pydns }:
buildPythonPackage rec {
pname = "pyspf";
version = "2.0.14";
format = "setuptools";
src = fetchFromGitHub {
owner = "sdgathman";
repo = pname;
rev = "pyspf-${version}";
sha256 = "0bmimlmwrq9glnjc4i6pwch30n3y5wyqmkjfyayxqxkfrixqwydi";
};
propagatedBuildInputs = [ pydns ];
# requires /etc/resolv.conf to exist
doCheck = false;
meta = with lib; {
homepage = "http://bmsi.com/python/milter.html";
description = "Python API for Sendmail Milters (SPF)";
maintainers = with maintainers; [ abbradar ];
license = licenses.gpl2;
};
}