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

49 lines
910 B
Nix

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