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

49 lines
911 B
Nix

{ lib
, attrs
, buildPythonPackage
, certvalidator
, cryptoparser
, fetchPypi
, pythonOlder
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "cryptolyzer";
version = "0.10.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "CryptoLyzer";
inherit version;
hash = "sha256-8jpWDd/+eEaAp8L4ySpNK91fma005cPMLgzAsSAIpKg=";
};
propagatedBuildInputs = [
certvalidator
attrs
six
urllib3
cryptoparser
requests
];
# Tests require networking
doCheck = false;
pythonImportsCheck = [
"cryptolyzer"
];
meta = with lib; {
description = "Cryptographic protocol analyzer";
homepage = "https://gitlab.com/coroner/cryptolyzer";
changelog = "https://gitlab.com/coroner/cryptolyzer/-/blob/v${version}/CHANGELOG.md";
license = licenses.mpl20;
maintainers = with maintainers; [ kranzes ];
};
}