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