python310Packages.authheaders: enable tests
This commit is contained in:
parent
2884a9a8a8
commit
e5d668a1f8
1 changed files with 13 additions and 6 deletions
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, authres
|
||||
, dnspython
|
||||
, buildPythonPackage
|
||||
, dkimpy
|
||||
, dnspython
|
||||
, fetchFromGitHub
|
||||
, publicsuffix2
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,9 +16,11 @@ buildPythonPackage rec {
|
|||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kAzuiKYeZH74Tr38vO4BVDIHRNjsHX1ukmhC9EcoO98=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValiMail";
|
||||
repo = "authentication-headers";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vtLt7JUdLF0gBWgMzP65UAR6A9BnTech5n0alFErcSQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -27,6 +30,10 @@ buildPythonPackage rec {
|
|||
publicsuffix2
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"authheaders"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue