Merge pull request #120272 from fabaff/pynx584
This commit is contained in:
commit
79cb2cb986
48
pkgs/development/python-modules/pynx584/default.nix
Normal file
48
pkgs/development/python-modules/pynx584/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -573,7 +573,7 @@
|
|||||||
"number" = ps: with ps; [ ];
|
"number" = ps: with ps; [ ];
|
||||||
"nut" = ps: with ps; [ ]; # missing inputs: pynut2
|
"nut" = ps: with ps; [ ]; # missing inputs: pynut2
|
||||||
"nws" = ps: with ps; [ pynws ];
|
"nws" = ps: with ps; [ pynws ];
|
||||||
"nx584" = ps: with ps; [ ]; # missing inputs: pynx584
|
"nx584" = ps: with ps; [ pynx584 ];
|
||||||
"nzbget" = ps: with ps; [ ]; # missing inputs: pynzbgetapi
|
"nzbget" = ps: with ps; [ ]; # missing inputs: pynzbgetapi
|
||||||
"oasa_telematics" = ps: with ps; [ ]; # missing inputs: oasatelematics
|
"oasa_telematics" = ps: with ps; [ ]; # missing inputs: oasatelematics
|
||||||
"obihai" = ps: with ps; [ ]; # missing inputs: pyobihai
|
"obihai" = ps: with ps; [ ]; # missing inputs: pyobihai
|
||||||
|
@ -332,6 +332,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"notify"
|
"notify"
|
||||||
"notion"
|
"notion"
|
||||||
"number"
|
"number"
|
||||||
|
"nx584"
|
||||||
"omnilogic"
|
"omnilogic"
|
||||||
"ondilo_ico"
|
"ondilo_ico"
|
||||||
"openerz"
|
"openerz"
|
||||||
|
@ -4964,6 +4964,8 @@ in {
|
|||||||
|
|
||||||
pynws = callPackage ../development/python-modules/pynws { };
|
pynws = callPackage ../development/python-modules/pynws { };
|
||||||
|
|
||||||
|
pynx584 = callPackage ../development/python-modules/pynx584 { };
|
||||||
|
|
||||||
pysbd = callPackage ../development/python-modules/pysbd { };
|
pysbd = callPackage ../development/python-modules/pysbd { };
|
||||||
|
|
||||||
pyshark = callPackage ../development/python-modules/pyshark { };
|
pyshark = callPackage ../development/python-modules/pyshark { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user