python310Packages.authheaders: add format

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-04-28 10:08:07 +02:00 committed by GitHub
parent 745fd3cac1
commit b86d494930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,31 @@
{ 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";