Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

termineter: init at 1.0.4 #277125

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 37 additions & 0 deletions pkgs/by-name/te/termineter/package.nix
@@ -0,0 +1,37 @@
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
pname = "termineter";
version = "1.0.4";

pyproject = true;

src = fetchFromGitHub {
owner = "rsmusllp";
repo = "termineter";
rev = "v${version}";
hash = "sha256-WZG5njKZxlhokRvghphH458e4b3i+ZWCn6zYtBGjvyM=";
};

propagatedBuildInputs = with python3.pkgs; [
crcelk
pluginbase
pyasn1
pyserial
smoke-zephyr
tabulate
termcolor
setuptools
t4ccer marked this conversation as resolved.
Show resolved Hide resolved
];

meta = with lib; {
description = "Smart Meter Security Testing Framework";
homepage = "https://github.com/rsmusllp/termineter";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ t4ccer ];
mainProgram = "termineter";
};
}
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/crcelk/default.nix
@@ -0,0 +1,28 @@
{ buildPythonPackage
, fetchFromGitHub
, pythonOlder
, lib
}:

buildPythonPackage rec {
pname = "crcelk";
version = "1.3";
t4ccer marked this conversation as resolved.
Show resolved Hide resolved

src = fetchFromGitHub {
owner = "zeroSteiner";
repo = "crcelk";
rev = "v${version}";
hash = "sha256-eJt0qcG0ejTQJyjOSi6Au2jH801KOMnk7f6cLbd7ADw=";
};

disabled = pythonOlder "3.7";

pythonImportsCheck = [ "crcelk" ];

meta = with lib; {
homepage = "https://github.com/zeroSteiner/crcelk";
description = "An updated fork of the CrcMoose module for recent versions of Python";
license = licenses.mit;
maintainers = with maintainers; [ t4ccer ];
};
}
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/smoke-zephyr/default.nix
@@ -0,0 +1,28 @@
{ buildPythonPackage
, fetchFromGitHub
, pythonOlder
, lib
}:

buildPythonPackage rec {
pname = "smoke-zephyr";
version = "2.0.1";
t4ccer marked this conversation as resolved.
Show resolved Hide resolved

src = fetchFromGitHub {
owner = "zeroSteiner";
repo = "smoke-zephyr";
rev = "v${version}";
hash = "sha256-XZj8sxEWYv5z1x7LKb0T3L7MWSZbWr7lAIyjWekN+WY=";
};

disabled = pythonOlder "3.7";

pythonImportsCheck = [ "smoke_zephyr" ];

meta = with lib; {
homepage = "https://github.com/zeroSteiner/smoke-zephyr";
description = "A collection of miscellaneous Python utilities";
license = licenses.bsd3;
maintainers = with maintainers; [ t4ccer ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -2400,6 +2400,8 @@ self: super: with self; {

crccheck = callPackage ../development/python-modules/crccheck { };

crcelk = callPackage ../development/python-modules/crcelk { };

crcmod = callPackage ../development/python-modules/crcmod { };

credstash = callPackage ../development/python-modules/credstash { };
Expand Down Expand Up @@ -13278,6 +13280,8 @@ self: super: with self; {

smmap = callPackage ../development/python-modules/smmap { };

smoke-zephyr = callPackage ../development/python-modules/smoke-zephyr { };

smpplib = callPackage ../development/python-modules/smpplib { };

smpp_pdu = callPackage ../development/python-modules/smpp.pdu { };
Expand Down