python3Packages.pynx584: init at 0.6

This commit is contained in:
Fabian Affolter 2021-04-25 18:54:57 +02:00
parent 155101e356
commit bc1cd4f3b3
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, mock
, prettytable
, pyserial
, pytestCheckHook
, pythonOlder
, requests
, stevedore
}:
buildPythonPackage rec {
pname = "pynx584";
version = "0.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kk7ds";
repo = pname;
rev = version;
sha256 = "0if1jq8qiqp4w4zhf2xzzcb8y70hr5pxqzh96i008p6izjha89y6";
};
propagatedBuildInputs = [
flask
prettytable
pyserial
requests
stevedore
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "nx584" ];
meta = with lib; {
description = "Python package for communicating to NX584/NX8E interfaces";
homepage = "https://github.com/kk7ds/pynx584";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5263,6 +5263,8 @@ in {
pynws = callPackage ../development/python-modules/pynws { };
pynx584 = callPackage ../development/python-modules/pynx584 { };
pysbd = callPackage ../development/python-modules/pysbd { };
pyshark = callPackage ../development/python-modules/pyshark { };