python313Packages.sectxt: init at 0.9.6

This commit is contained in:
networkException
2025-02-14 13:15:10 +01:00
parent 6fa6f314bb
commit 34e43a34d4
2 changed files with 63 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };