blob: ab9df7c1aadd76052d44f59261f1a8d20ac746cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
buildPythonPackage,
lib,
fetchFromGitHub,
perl,
cryptography,
rustPlatform,
pretend,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rfc3161-client";
version = "1.0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "trailofbits";
repo = "rfc3161-client";
tag = "v${version}";
hash = "sha256-EF4d9MnBhWt99vy2MOK+u0aUQ3ZEH/8mYezlWQtGvhU=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src pname;
hash = "sha256-jQsogV+qR0jAkHz/Slg9oBO/f96osU8YcjuaX4ZJQTk=";
};
pythonRelaxDeps = [
"cryptography"
];
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";
};
}
|