python313Packages.sectxt: init at 0.9.6
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
requests,
|
||||
python-dateutil,
|
||||
langcodes,
|
||||
pgpy-dtc,
|
||||
validators,
|
||||
requests-mock,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sectxt";
|
||||
version = "0.9.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DigitalTrustCenter";
|
||||
repo = "sectxt";
|
||||
tag = version;
|
||||
hash = "sha256-49YxhcOpi1wofKMRuNxt8esBtfaSoBrGu+yBCRFWZYY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
python-dateutil
|
||||
langcodes
|
||||
pgpy-dtc
|
||||
validators
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"requests"
|
||||
"langcodes"
|
||||
"pgpy-dtc"
|
||||
"validators"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sectxt" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/DigitalTrustCenter/sectxt";
|
||||
changelog = "https://github.com/DigitalTrustCenter/sectxt/releases/tag/${src.tag}";
|
||||
description = "security.txt parser and validator";
|
||||
license = lib.licenses.eupl12;
|
||||
maintainers = with lib.maintainers; [ networkexception ];
|
||||
};
|
||||
}
|
||||
@@ -14650,6 +14650,8 @@ self: super: with self; {
|
||||
|
||||
sectools = callPackage ../development/python-modules/sectools { };
|
||||
|
||||
sectxt = callPackage ../development/python-modules/sectxt { };
|
||||
|
||||
seedir = callPackage ../development/python-modules/seedir { };
|
||||
|
||||
seekpath = callPackage ../development/python-modules/seekpath { };
|
||||
|
||||
Reference in New Issue
Block a user