Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cryptolyzer / default.nix
blobc8cdc1c6d3d3e4e18ef5c02e8ff04f8d1a41d091
1 { lib
2 , attrs
3 , buildPythonPackage
4 , certvalidator
5 , cryptoparser
6 , fetchPypi
7 , pythonOlder
8 , requests
9 , six
10 , urllib3
13 buildPythonPackage rec {
14   pname = "cryptolyzer";
15   version = "0.10.3";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     pname = "CryptoLyzer";
22     inherit version;
23     hash = "sha256-8jpWDd/+eEaAp8L4ySpNK91fma005cPMLgzAsSAIpKg=";
24   };
26   propagatedBuildInputs = [
27     certvalidator
28     attrs
29     six
30     urllib3
31     cryptoparser
32     requests
33   ];
35   # Tests require networking
36   doCheck = false;
38   pythonImportsCheck = [
39     "cryptolyzer"
40   ];
42   meta = with lib; {
43     description = "Cryptographic protocol analyzer";
44     homepage = "https://gitlab.com/coroner/cryptolyzer";
45     changelog = "https://gitlab.com/coroner/cryptolyzer/-/blob/v${version}/CHANGELOG.md";
46     license = licenses.mpl20;
47     maintainers = with maintainers; [ kranzes ];
48   };