Merge pull request #127999 from dotlambda/ndms2-client-init

This commit is contained in:
Sandro 2021-06-25 18:47:32 +02:00 committed by GitHub
commit 9470f462d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ndms2-client";
version = "0.1.1";
src = fetchFromGitHub {
owner = "foxel";
repo = "python_ndms2_client";
rev = version;
sha256 = "1sc39d10hm1y8xf3gdqzq1akrx94k590l106242j9bvfqyr8lrk9";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ndms2_client" ];
meta = with lib; {
description = "Keenetic NDMS 2.x and 3.x client";
homepage = "https://github.com/foxel/python_ndms2_client";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -421,7 +421,7 @@
"kaiterra" = ps: with ps; [ ]; # missing inputs: kaiterra-async-client
"kankun" = ps: with ps; [ ];
"keba" = ps: with ps; [ ]; # missing inputs: keba-kecontact
"keenetic_ndms2" = ps: with ps; [ ]; # missing inputs: ndms2_client
"keenetic_ndms2" = ps: with ps; [ ndms2-client ];
"kef" = ps: with ps; [ aiokef getmac ];
"keyboard" = ps: with ps; [ ]; # missing inputs: pyuserinput
"keyboard_remote" = ps: with ps; [ aionotify evdev ];

View File

@ -489,6 +489,7 @@ in with py.pkgs; buildPythonApplication rec {
"isy994"
"izone"
"jewish_calendar"
"keenetic_ndms2"
"kira"
"kmtronic"
"knx"

View File

@ -4684,6 +4684,8 @@ in {
ndjson = callPackage ../development/python-modules/ndjson { };
ndms2-client = callPackage ../development/python-modules/ndms2-client { };
ndspy = callPackage ../development/python-modules/ndspy { };
ndtypes = callPackage ../development/python-modules/ndtypes { };