1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "termineter";
9 version = "1.0.6";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "rsmusllp";
14 repo = "termineter";
15 tag = "v${version}";
16 hash = "sha256-sJN1FNUCpQUMJNM6F2+v0NmGqu4LVYcsffwzl3Hr1CU=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 crcelk
23 pluginbase
24 pyasn1
25 pyserial
26 smoke-zephyr
27 tabulate
28 termcolor
29 ];
30
31 pythonImportsCheck = [ "termineter" ];
32
33 meta = {
34 description = "Smart Meter Security Testing Framework";
35 homepage = "https://github.com/rsmusllp/termineter";
36 changelog = "https://github.com/rsmusllp/termineter/releases/tag/v${version}";
37 license = lib.licenses.bsd3;
38 maintainers = with lib.maintainers; [ fab ];
39 mainProgram = "termineter";
40 };
41}