depot/third_party/nixpkgs/pkgs/development/python-modules/pytm/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

34 lines
734 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, pythonOlder
, pydal
, graphviz
, pandoc
, plantuml
}:
buildPythonPackage rec {
pname = "pytm";
version = "1.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "izar";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-R/MDz6lCvUxtn6IJ8STHlWzkSjnUJziO+oPnaYhrr7U=";
};
propagatedBuildInputs = [ pydal graphviz pandoc plantuml ];
pythonImportsCheck = [ "pytm" ];
meta = with lib; {
description = "A Pythonic framework for threat modeling";
homepage = "https://owasp.org/www-project-pytm/";
license = with licenses; [ capec mit ];
maintainers = with maintainers; [ wamserma ];
};
}