python3Packages.nad-receiver: init at 0.2.0

This commit is contained in:
Fabian Affolter 2021-04-09 17:53:54 +02:00
parent 41d8ec87b2
commit af602afe9d
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, pyserial
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "nad-receiver";
version = "0.2.0";
src = fetchFromGitHub {
owner = "joopert";
repo = "nad_receiver";
rev = version;
sha256 = "1mylrrvxczhplscayf4hvj56vaqkh7mv32fn9pcvla83y39kg8rw";
};
propagatedBuildInputs = [
pyserial
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "nad_receiver" ];
meta = with lib; {
description = "Python interface for NAD receivers";
homepage = "https://github.com/joopert/nad_receiver";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4513,6 +4513,8 @@ in {
mysql-connector = callPackage ../development/python-modules/mysql-connector { }; mysql-connector = callPackage ../development/python-modules/mysql-connector { };
nad-receiver = callPackage ../development/python-modules/nad-receiver { };
nagiosplugin = callPackage ../development/python-modules/nagiosplugin { }; nagiosplugin = callPackage ../development/python-modules/nagiosplugin { };
namebench = callPackage ../development/python-modules/namebench { }; namebench = callPackage ../development/python-modules/namebench { };