depot/third_party/nixpkgs/pkgs/development/python-modules/cryptoparser/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

47 lines
898 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, attrs
, asn1crypto
, cryptodatahub
, python-dateutil
, urllib3
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cryptoparser";
version = "0.11.0";
format = "pyproject";
src = fetchPypi {
pname = "CryptoParser";
inherit version;
hash = "sha256-fgPmgZxv/UpaoeBO08xcUbPxmjVV4AUEgivNOvWxd04=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
asn1crypto
attrs
cryptodatahub
python-dateutil
urllib3
];
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 ];
};
}