python313Packages.rfc3161-client: init at 1.0.0

This commit is contained in:
wxt
2025-01-24 17:23:30 +08:00
parent 5aa4b7f130
commit a1009efabf
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
buildPythonPackage,
lib,
fetchFromGitHub,
perl,
cryptography,
rustPlatform,
pretend,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rfc3161-client";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trailofbits";
repo = "rfc3161-client";
tag = "v${version}";
hash = "sha256-fdNpM5fQnvwBgeL/adIb74pywtK6+8dLxc6kIVgCOCw=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src pname;
hash = "sha256-jpysrco+dybMwiKOa21uLKqsOeYFFERL7XKND7gPwX8=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
perl
];
dependencies = [
cryptography
pretend
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
homepage = "https://github.com/trailofbits/rfc3161-client";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
license = lib.licenses.asl20;
platforms = lib.platforms.all;
changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/v${version}";
description = "Opinionated Python RFC3161 Client";
};
}
+2
View File
@@ -14144,6 +14144,8 @@ self: super: with self; {
reverse-geocode = callPackage ../development/python-modules/reverse-geocode { };
rfc3161-client = callPackage ../development/python-modules/rfc3161-client { };
rfc3339 = callPackage ../development/python-modules/rfc3339 { };
rfc3339-validator = callPackage ../development/python-modules/rfc3339-validator { };