83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
37 lines
733 B
Nix
37 lines
733 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, attrs
|
|
, six
|
|
, asn1crypto
|
|
, python-dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptoparser";
|
|
version = "0.8.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Sn4sfzu1Y1gC+4K9WdiZW92cYuVbUsBXcNbNQOv0BRw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
attrs
|
|
six
|
|
asn1crypto
|
|
python-dateutil
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"cryptoparser"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Security protocol parser and generator";
|
|
homepage = "https://gitlab.com/coroner/cryptoparser";
|
|
changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ kranzes ];
|
|
};
|
|
}
|