depot/third_party/nixpkgs/pkgs/development/python-modules/cryptolyzer/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

49 lines
910 B
Nix

{ lib
, attrs
, buildPythonPackage
, certvalidator
, cryptoparser
, fetchPypi
, pythonOlder
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "cryptolyzer";
version = "0.8.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "CryptoLyzer";
inherit version;
hash = "sha256-7qMNz8F0B3bph/nHkS1VrkcF1bETWAklXFOlMWu3K9s=";
};
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 ];
};
}