depot/third_party/nixpkgs/pkgs/development/python-modules/cryptoparser/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

37 lines
733 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, attrs
, six
, asn1crypto
, python-dateutil
}:
buildPythonPackage rec {
pname = "cryptoparser";
version = "0.8.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-eLQNqeCUnjcxWbazhWHtqJJgvPUMH42fboU5y2ZMy44=";
};
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 ];
};
}