Unverified Commit b86d4949 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.authheaders: add format

- disable on unsupported Python releases
parent 745fd3ca
Loading
Loading
Loading
Loading
+17 −3
Original line number Diff line number Diff line
{ buildPythonPackage, fetchPypi, lib
, authres, dnspython, dkimpy, publicsuffix2
{ lib
, buildPythonPackage
, fetchPypi
, authres
, dnspython
, dkimpy
, publicsuffix2
, pythonOlder
}:

buildPythonPackage rec {
  pname = "authheaders";
  version = "0.15.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-kAzuiKYeZH74Tr38vO4BVDIHRNjsHX1ukmhC9EcoO98=";
  };

  propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ];
  propagatedBuildInputs = [
    authres
    dnspython
    dkimpy
    publicsuffix2
  ];

  meta = with lib; {
    description = "Python library for the generation of email authentication headers";