1{ lib
2, buildPythonPackage
3, fetchPypi
4, attrs
5, six
6, asn1crypto
7, python-dateutil
8}:
9
10buildPythonPackage rec {
11 pname = "cryptoparser";
12 version = "0.8.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-kJg8d1PoGIC0feefbJM8oyXcRyMGdg1wWkQUl/nSNCo=";
17 };
18
19 propagatedBuildInputs = [
20 attrs
21 six
22 asn1crypto
23 python-dateutil
24 ];
25
26 pythonImportsCheck = [ "cryptoparser" ];
27
28 meta = with lib; {
29 description = "Fast and flexible security protocol parser and generator";
30 homepage = "https://gitlab.com/coroner/cryptoparser";
31 license = licenses.mpl20;
32 maintainers = with maintainers; [ kranzes ];
33 };
34}