Merge pull request #334074 from r-ryantm/auto-update/trustymail
trustymail: 0.8.3 -> 1.0.0
This commit is contained in:
commit
c7c8269046
@ -1,48 +1,50 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "trustymail";
|
||||
version = "0.8.3";
|
||||
format = "setuptools";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cisagov";
|
||||
repo = pname;
|
||||
repo = "trustymail";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-aFXz78Gviki0yIcnn2EgR3mHmt0wMoY5u6RoT6zQc1Y=";
|
||||
hash = "sha256-Zkw+NfeVtIArrBxR1qR9bAQe5yd7mAtNiT0x5Mqr3Ic=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace " --cov" ""
|
||||
--replace-fail " --cov" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dnspython
|
||||
docopt
|
||||
publicsuffixlist
|
||||
pydns
|
||||
pyspf
|
||||
requests
|
||||
] ++ publicsuffixlist.optional-dependencies.update;
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
dependencies =
|
||||
with python3.pkgs;
|
||||
[
|
||||
dnspython
|
||||
docopt
|
||||
publicsuffixlist
|
||||
pydns
|
||||
pyspf
|
||||
requests
|
||||
]
|
||||
++ publicsuffixlist.optional-dependencies.update;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"trustymail"
|
||||
];
|
||||
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "trustymail" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to scan domains and return data based on trustworthy email best practices";
|
||||
mainProgram = "trustymail";
|
||||
homepage = "https://github.com/cisagov/trustymail";
|
||||
changelog = "https://github.com/cisagov/trustymail/releases/tag/v${version}";
|
||||
license = with licenses; [ cc0 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "trustymail";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user