1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, attrs
6, asn1crypto
7, cryptodatahub
8, python-dateutil
9, urllib3
10, pytestCheckHook
11}:
12
13buildPythonPackage rec {
14 pname = "cryptoparser";
15 version = "0.11.0";
16 format = "pyproject";
17
18 src = fetchPypi {
19 pname = "CryptoParser";
20 inherit version;
21 hash = "sha256-fgPmgZxv/UpaoeBO08xcUbPxmjVV4AUEgivNOvWxd04=";
22 };
23
24 nativeBuildInputs = [
25 setuptools
26 ];
27
28 propagatedBuildInputs = [
29 asn1crypto
30 attrs
31 cryptodatahub
32 python-dateutil
33 urllib3
34 ];
35
36 pythonImportsCheck = [
37 "cryptoparser"
38 ];
39
40 meta = with lib; {
41 description = "Security protocol parser and generator";
42 homepage = "https://gitlab.com/coroner/cryptoparser";
43 changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/v${version}/CHANGELOG.md";
44 license = licenses.mpl20;
45 maintainers = with maintainers; [ kranzes ];
46 };
47}