nixpkgs/pkgs/development/python-modules/cryptoparser/default.nix
2023-03-03 23:56:37 +01:00

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