at master 767 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pythonOlder, 6 pydal, 7 graphviz, 8 pandoc, 9 plantuml, 10}: 11 12buildPythonPackage rec { 13 pname = "pytm"; 14 version = "1.3.1"; 15 format = "setuptools"; 16 disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "izar"; 20 repo = "pytm"; 21 tag = "v${version}"; 22 sha256 = "sha256-MseV1ucDCzSM36zx04g9v5euDX0t74KqUSB4+brHzt8="; 23 }; 24 25 propagatedBuildInputs = [ 26 pydal 27 graphviz 28 pandoc 29 plantuml 30 ]; 31 32 pythonImportsCheck = [ "pytm" ]; 33 34 meta = with lib; { 35 description = "Pythonic framework for threat modeling"; 36 homepage = "https://owasp.org/www-project-pytm/"; 37 license = with licenses; [ 38 capec 39 mit 40 ]; 41 maintainers = with maintainers; [ wamserma ]; 42 }; 43}