Merge pull request #185456 from Kranzes/cryptolyzer
This commit is contained in:
commit
536f043c66
3 changed files with 79 additions and 0 deletions
41
pkgs/development/python-modules/cryptolyzer/default.nix
Normal file
41
pkgs/development/python-modules/cryptolyzer/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, certvalidator
|
||||
, attrs
|
||||
, six
|
||||
, urllib3
|
||||
, cryptoparser
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptolyzer";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "CryptoLyzer";
|
||||
inherit version;
|
||||
sha256 = "sha256-FbxSjKxhzlpj3IezuLCQvoeZMG1q+OE/yn5vB/XE1rI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certvalidator
|
||||
attrs
|
||||
six
|
||||
urllib3
|
||||
cryptoparser
|
||||
requests
|
||||
];
|
||||
|
||||
doCheck = false; # Tests require networking
|
||||
|
||||
pythonImportsCheck = [ "cryptolyzer" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and flexible cryptographic protocol analyzer";
|
||||
homepage = "https://gitlab.com/coroner/cryptolyzer";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ kranzes ];
|
||||
};
|
||||
}
|
34
pkgs/development/python-modules/cryptoparser/default.nix
Normal file
34
pkgs/development/python-modules/cryptoparser/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, attrs
|
||||
, six
|
||||
, asn1crypto
|
||||
, python-dateutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptoparser";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kJg8d1PoGIC0feefbJM8oyXcRyMGdg1wWkQUl/nSNCo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
six
|
||||
asn1crypto
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cryptoparser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and flexible security protocol parser and generator";
|
||||
homepage = "https://gitlab.com/coroner/cryptoparser";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ kranzes ];
|
||||
};
|
||||
}
|
|
@ -2029,6 +2029,10 @@ in {
|
|||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
cryptolyzer = callPackage ../development/python-modules/cryptolyzer { };
|
||||
|
||||
cryptoparser = callPackage ../development/python-modules/cryptoparser { };
|
||||
|
||||
crytic-compile = callPackage ../development/python-modules/crytic-compile { };
|
||||
|
||||
csrmesh = callPackage ../development/python-modules/csrmesh { };
|
||||
|
|
Loading…
Reference in a new issue