504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
49 lines
911 B
Nix
49 lines
911 B
Nix
{ lib
|
|
, attrs
|
|
, buildPythonPackage
|
|
, certvalidator
|
|
, cryptoparser
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, requests
|
|
, six
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptolyzer";
|
|
version = "0.12.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "CryptoLyzer";
|
|
inherit version;
|
|
hash = "sha256-1Ec57A5lCjy9FsA3vDmCyfOeHZaQz01FNiKyNV3eJfc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|