02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
34 lines
656 B
Nix
34 lines
656 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, attrs
|
|
, six
|
|
, asn1crypto
|
|
, python-dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptoparser";
|
|
version = "0.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-kJg8d1PoGIC0feefbJM8oyXcRyMGdg1wWkQUl/nSNCo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
attrs
|
|
six
|
|
asn1crypto
|
|
python-dateutil
|
|
];
|
|
|
|
pythonImportsCheck = [ "cryptoparser" ];
|
|
|
|
meta = with lib; {
|
|
description = "Fast and flexible security protocol parser and generator";
|
|
homepage = "https://gitlab.com/coroner/cryptoparser";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ kranzes ];
|
|
};
|
|
}
|