1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "ndms2-client"; 9 version = "0.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "foxel"; 13 repo = "python_ndms2_client"; 14 rev = version; 15 sha256 = "1sc39d10hm1y8xf3gdqzq1akrx94k590l106242j9bvfqyr8lrk9"; 16 }; 17 18 checkInputs = [ 19 pytestCheckHook 20 ]; 21 22 pythonImportsCheck = [ "ndms2_client" ]; 23 24 meta = with lib; { 25 description = "Keenetic NDMS 2.x and 3.x client"; 26 homepage = "https://github.com/foxel/python_ndms2_client"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ dotlambda ]; 29 }; 30}