1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, serialio 7, sockio 8}: 9 10buildPythonPackage rec { 11 pname = "connio"; 12 version = "0.2.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "tiagocoutinho"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-fPM7Ya69t0jpZhKM2MTk6BwjvoW3a8SV3k000LB9Ypo="; 22 }; 23 24 propagatedBuildInputs = [ 25 serialio 26 sockio 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "connio" 34 ]; 35 36 meta = with lib; { 37 description = "Library for concurrency agnostic communication"; 38 homepage = "https://github.com/tiagocoutinho/connio"; 39 license = with licenses; [ gpl3Plus ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}