depot/third_party/nixpkgs/pkgs/development/python-modules/cryptoparser/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

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 ];
};
}