python313Packages.sectxt: init at 0.9.6 (#378273)
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
pyasn1,
|
||||
cryptography,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgpy-dtc";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DigitalTrustCenter";
|
||||
repo = "PGPy_dtc";
|
||||
tag = version;
|
||||
hash = "sha256-0zv2gtgp/iGDQescaDpng1gqbgjv7iXFvtwEt3YIPy4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyasn1
|
||||
cryptography
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pgpy_dtc" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/DigitalTrustCenter/PGPy_dtc";
|
||||
changelog = "https://github.com/DigitalTrustCenter/PGPy_dtc/releases/tag/${src.tag}";
|
||||
description = "Pretty Good Privacy for Python";
|
||||
license = lib.licenses.eupl12;
|
||||
maintainers = with lib.maintainers; [ networkexception ];
|
||||
};
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -10368,6 +10368,8 @@ self: super: with self; {
|
||||
|
||||
pgpy = callPackage ../development/python-modules/pgpy { };
|
||||
|
||||
pgpy-dtc = callPackage ../development/python-modules/pgpy-dtc { };
|
||||
|
||||
pgsanity = callPackage ../development/python-modules/pgsanity { };
|
||||
|
||||
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
||||
@@ -14769,6 +14771,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